Angular and Flask project to visualize groundwater well measurements and highlight missing monitoring throughout New Mexico.
- Navigate to
/frontend
- Run
npm i
to install dependencies - Run
ng serve
for a dev server. Navigate tohttp://localhost:4200/
- The frontend may be run independently of the backend
- Navigate to
/backend
- Run
python -m venv venv
to create virtual environment - Run
./venv/Scripts/activate
to activate virtual environment - Run
python -m pip install -r requirements.txt
to install requirements - Define environment variables
FLASK_APP=main.py
andFLASK_ENV=development
- Run
flask run
to run the backend
- Go to the "pipelines" section of the bitbucket
- Click "Run pipeline" in the top right corner
- Select the branch
- Select the "deploy-appengine" pipeline
- Click "run"
- When complete the app should be available at https://bgmr-gwm.wn.r.appspot.com/
- *BucketURL: Cloud bucket base URL
- **Note: CSVs on the bucket must have CORS configured to allow all requests
/app/
Main app module, components and routing
/app/modules/core
App level components and services (header, footer, nav)
/app/modules/shared
Components, services, modules shared throughout app (spinner, logger, etc)
/app/modules/features
Feature modules
main.py
Entry point, runs application
/api/__init__.py
Application factory