Welcome to the Oregon Tilth Platform.
Please contact support@sitkatech.com with any questions about this project.
- Install Visual Studio 2019
- Install Visual Studio Code
- Install Docker
- Install Node.js
- Install these extensions for Visual Studio Code:
- Angular CLI
- Debugger for Chrome
- Docker
- npm support for VS Code
- npm commands for VS Code
- npm Intellisense
- Clone the git repository to your development machine
- Create an empty database called OregonTilthDB and create a user for it. Give the user the owner role.
- Copy
[repo root dir]\Source\docker-compose\.env.template
to[repo root dir]\Source\docker-compose\.env
- Update the values in the new
.env
file - Add an entry to your hosts file pointing
WEB_URL
from the.env
file to127.0.0.1
- Open the solution in VS19 and set docker-compose as the startup project
- Press the green "play" triangle to start the API server
- Open the
oregontilth-web-workspace
in VSC ([repo root dir]\Source\OregonTilth.Web
) - Open the VSC terminal and run npm install, then npm build, then npm start.
- Press F5 to open the web app in Google Chrome. You will be able to debug JavaScript directly in VSC. -- You may need to setup a launch config to point to localhost:8113
- Copy
src\assets\config.json.template
tosrc\assets\config.json
- Update the values in the new
config.json