Angular and Flask project to visualize groundwater well measurements and highlight missing monitoring throughout New Mexico.
- Navigate to
/frontend - Run
npm ito install dependencies - Run
ng servefor a dev server. Navigate tohttp://localhost:4200/- The frontend may be run independently of the backend
- Navigate to
/backend - Run
python -m venv venvto create virtual environment - Run
./venv/Scripts/activateto activate virtual environment - Run
python -m pip install -r requirements.txtto install requirements - Define environment variables
FLASK_APP=main.pyandFLASK_ENV=development - Run
flask runto 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