- npm install
- npm start
- pip/conda install flask
- pip/conda install flask-sqlalchemy
- pip/conda install flask-login (for conda - 3rd pty lib is anaconda)
- pip/conda install pymysql
- pip/conda install flask_cors
- python server/app.py
- localhost:xxxx/hello
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
conda list -e > requirements.txt
- To run the app locally, first clone this repository and
cd
into it. - Create new virtual environment.
$ virtualenv venv
$ source venv/bin/activate
conda create --name <environment-name>
activate <environment-name>
- Install the requirments.
$ pip install -r requirments.txt
conda install --yes --file requirements.txt
- Run the server
$ python server/app.py
- Go to 127.0.0.1:5000/hello Note: This is a python endpoint.