Main Branch - to be run locally, includes frontend and backend
Heroku Frontend - CI/CD pipeline for frontend
Heroku Backend - CI/CD pipeline for backend
Prettier:
https://prettier.io/
Open VSCode, install Prettier extension
Use before pushing updates to js/jsx files: in command line, execute 'npx prettier --write .'
Pylint (PEP8):
https://www.pylint.org/
Execute command in terminal: python -m pip install pylint
Open VSCode, ctrl+shift+P <Python: Select Linter>
To use: save file, or ctrl+shift+P <Python: Run Linter>
outputs to Problems tab
In frontend directory, execute 'npm install', then 'npm start'
In backend directory, execute 'pipenv shell'
Execute 'export FLASK_APP=app.py', then 'export FLASK_ENV=development'
Execute 'flask run'
In backend directory, execute 'pytest testing.py'
https://travis-ci.com/github/ericta-portfolio/CSC308-PolySnaps
dashboards:
backend - https://dashboard.heroku.com/apps/polysnaps-be
frontend - https://dashboard.heroku.com/apps/polysnaps-fe
deployed apps:
backend - https://polysnaps-be.herokuapp.com/
frontend - https://polysnaps-fe.herokuapp.com/