Available on http://boiler-buy.azurewebsites.net/ (NOT WORKING YET)
THIS APP USES THE DJANGO FRAMEWORK FIND OUT MORE HERE https://docs.djangoproject.com/en/4.1/
- NO PUSHING TO MASTER - Create your own branch for each feature
- To merge to master create a pull request
- To merge pull request to master someone else needs to approve it
- API and Frontend work together locally
- Start by cloning repository
-
Create a virtual environment for the api:
-
Windows
cd boiler_buy_api py -m venv .venv .venv/scripts/activate
-
macOS/linux
cd boiler_buy_api python3 -m venv .venv source .venv/bin/activate
-
-
Install the dependencies:
pip install -r requirements.txt
-
Run the app:
./manage.py runserver
- App will be available on http://127.0.0.1:8000
Angular (https://angular.io/docs)
-
Download Node.js & npm (if not installed):
-
Go into the
boiler-buy-web
directory -
Install Angular-CLI
npm install -g @angular/cli
-
Update/Install packages:
npm install
-
Run the Angular App: Run:
ng serve
- To automatically open the app, add the
--open
flag - App will be available on http://localhost:4200
- To automatically open the app, add the
-
To test:
ng test
- Write tests in the spec.ts files
-
Before pushing:
ng build