Skip to content

tanjoash/2D_data_driven_world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2D project

Table of Contents

Running Python Report Notebook

Modules required for Python Report Notebook

  1. seaborn
  2. matplotlib
  3. numpy
  4. pandas

Running Website On Vocareum

  1. First make sure that you have installed pipenv package.
python3.8 -m pip install pipenv
  1. 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
  1. To activate the virtualenv, run
python3.8 -m pipenv shell
  1. Ensure the following on __init__.py
application.wsgi_app = PrefixMiddleware(application.wsgi_app, voc=True)
  1. First Time running flask (Only needs to be done once)
chmod a+x ./runflaskvoc.sh
  1. For first and subsequent times that we want to run the flask server.
./runflaskvoc.sh
  1. Once it is running, you can open another tab in your browser and type the following url: https://myserver.vocareum.com/

Running website on local computer

  1. First make sure that you have installed pipenv package.
pip install --user pipenv
  1. 2D_Project will be the root folder of our application.
  • From the root folder, install the packages specified in the Pipfile.
pipenv install
  1. To activate the virtualenv, run
pipenv shell
  1. Ensure the following on __init__.py
application.wsgi_app = PrefixMiddleware(application.wsgi_app, voc=False)
  1. Run the flask server on local computer
flask run
  1. Enter the website shown in the terminal hosted on local computer to see the website.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages