1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-09 07:08:15 -05:00

more build/run instructions

This commit is contained in:
Kyle Spearrin 2017-08-16 01:01:36 -04:00
parent 3621699f9d
commit a8e5b444e2
3 changed files with 38 additions and 11 deletions

View File

@ -5,16 +5,43 @@
The bitwarden Core project contains the APIs, database, and other infrastructure items needed for the "backend" of all other bitwarden projects. The bitwarden Core project contains the APIs, database, and other infrastructure items needed for the "backend" of all other bitwarden projects.
The core infrastructure is written in C# using .NET with ASP.NET Core. The database is SQL Server. The core infrastructure is written in C# using .NET Core with ASP.NET Core. The database is written in T-SQL/SQL Server.
The codebase can be developed, built, run, and deployed cross-platform on Windows, macOS, and Linux distributions.
# Build/Run # Build/Run
**Requirements** **Requirements**
- [ASP.NET Core](https://dot.net) - [.NET Core 2.x](https://dot.net)
- Recommended: [Visual Studio](https://www.visualstudio.com/) - [SQL Server 2016 or 2017](https://docs.microsoft.com/en-us/sql/index)
Open `bitwarden-core.sln`. After restoring the nuget packages, you can build and run the `Api` project. **Recommended tooling**
- [Visual Studio](https://www.visualstudio.com/vs/) (Windows and macOS)
- [Visual Studio Code](https://code.visualstudio.com/) (other)
**API**
```
cd src/Api
dotnet restore
dotnet build
dotnet run -f netcoreapp2.0
```
visit http://localhost:5000/alive
**Identity**
```
cd src/Identity
dotnet restore
dotnet build
dotnet run -f netcoreapp2.0
```
visit http://localhost:33657/.well-known/openid-configuration
# Contribute # Contribute

View File

@ -15,10 +15,10 @@
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development"
} }
}, },
"Web": { "Api": {
"commandName": "Project", "commandName": "Project",
"launchBrowser": false, "launchBrowser": true,
"launchUrl": "http://localhost:5000", "applicationUrl": "http://localhost:5000",
"environmentVariables": { "environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development"
} }

View File

@ -16,12 +16,12 @@
} }
}, },
"Identity": { "Identity": {
"commandName": "Identity", "commandName": "Project",
"launchBrowser": false, "launchBrowser": true,
"applicationUrl": "http://localhost:33657",
"environmentVariables": { "environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development"
}, }
"applicationUrl": "http://localhost:33657"
} }
} }
} }