Skip to content

HScally/face_mask

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Face Mask

Steps to run front-end:

  1. npm install
  2. npm start

Steps to run back-end:

  1. pip/conda install flask
  2. pip/conda install flask-sqlalchemy
  3. pip/conda install flask-login (for conda - 3rd pty lib is anaconda)
  4. pip/conda install pymysql
  5. pip/conda install flask_cors
  6. python server/app.py
  7. localhost:xxxx/hello

Access to Database

Go to http://www.phpmyadmin.co/

Server: sql3.freemysqlhosting.net Username: sql3220832 Password: BWP5Ed8RU8 Port number: 3306

If you add any packages to this project type, please update the requirements.txt (example in the following)

$ pip freeze > requirements.txt

With conda

conda list -e > requirements.txt

Steps to setup and run the backend with virtualenv.

  1. To run the app locally, first clone this repository and cd into it.
  2. Create new virtual environment.
$ virtualenv venv
$ source venv/bin/activate

With conda

conda create --name <environment-name>
activate <environment-name>
  1. Install the requirments.
$ pip install -r requirments.txt

With conda

conda install --yes --file requirements.txt
  1. Run the server
$ python server/app.py
  1. Go to 127.0.0.1:5000/hello Note: This is a python endpoint.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 82.5%
  • Python 13.7%
  • HTML 3.7%
  • CSS 0.1%