- Database Schema
- Array of Things Workshop in R
- Array of Things Jupyter Notebook Tutorial
- Official Array of Things pages
-
In the root of this repo, create virtual environment (guide)
python -m venv env -
Activate the environment
Windows
env\Scripts\activatemacOS and Linux
source env/bin/activate -
Install requirements
pip install -r requirements.txt pip install -r requirements_dev.txt -
Create a
.envin the root directory of this repo with the following info. This file is not version controlled. This is where we place secret credentials.FLASK_APP=app:APP FLASK_ENV="development" FLASK_DEBUG=True PLOTLY_USER="" PLOTLY_API_KEY="" -
Instantiate the database
flask shell DB.create_all() -
Run the server in development
flask run -
Optional: Create an ipython kernel to use Jupyter Notebook with this environment. After calling
jupyter notebook, you'll need to select this kernel in the interface (see documentation).ipython kernel install --user --name=chicago-aot-env