Install the following dependencies to compile and run Fooston.com locally
-
Open a command terminal in the FoostonWeb directory and run
npm install
- Create PostgreSQL role
- Create Database with owner set to role in step 1
- Copy appsettings.json to appsettings.development.json
- Add connection string to database in appsettings.Development.json
"ConnectionStrings": {
"FoostonDb": "User ID=[role];Password=[password];Host=localhost;Port=5432;Database=[database];"
}
-
Open a command terminal in the FoostonWeb directory and run the following commands
dotnet restore dotnet ef database update
Stuff I use to work on this site
- pgAdmin III (free) - possibly installed with PostgreSQL
- DataGrip
- Linux/macOS: Visual Studio Code
- Windows: Visual Studio