Workhelix Backend App
Local
Running the App Locally
Ensure you are running wh_app as root folder
- To run the a local version of the app:\
make run
Testing the Local Version
Ensure you are running wh_app as root folder
- To run tests upon the app:\
make test
Running/Testing the Dev Version of the App
Ensure you are running wh_app as root folder
- To run the a dev version of the app:\
make dev
- To Test the dev version of the app:\
make test
Docker
Build the App
Ensure you are running monohelix as root folder
- Build Step:
docker build -f ./projects/wh_app/Dockerfile -t wh_app .
Docker Test Env: Local
- Run Step:
docker run --rm -it --name app -p 8000:8000 wh_app
Docker Test Env: Dev/Integration
- Run Step:
docker run -e ENV="DEV" --rm -it --name app -p 8000:8000 wh_app