Table of Contents
- seaborn
- matplotlib
- numpy
- pandas
- First make sure that you have installed
pipenv
package.
python3.8 -m pip install pipenv
2D_Project
will be the root folder of our application.
- From the root folder, install the packages specified in the
Pipfile
.
python3.8 -m pipenv install
- To activate the virtualenv, run
python3.8 -m pipenv shell
- Ensure the following on
__init__.py
application.wsgi_app = PrefixMiddleware(application.wsgi_app, voc=True)
- First Time running flask (Only needs to be done once)
chmod a+x ./runflaskvoc.sh
- For first and subsequent times that we want to run the flask server.
./runflaskvoc.sh
- Once it is running, you can open another tab in your browser and type the following url: https://myserver.vocareum.com/
- First make sure that you have installed
pipenv
package.
pip install --user pipenv
2D_Project
will be the root folder of our application.
- From the root folder, install the packages specified in the
Pipfile
.
pipenv install
- To activate the virtualenv, run
pipenv shell
- Ensure the following on
__init__.py
application.wsgi_app = PrefixMiddleware(application.wsgi_app, voc=False)
- Run the flask server on local computer
flask run
- Enter the website shown in the terminal hosted on local computer to see the website.