Skip to content

chicago-array-build/chicago-array-build-ds

Repository files navigation

Chicago Array of Things Build: Data Science Server

Resources

Development Build

  1. In the root of this repo, create virtual environment (guide)

    python -m venv env
    
  2. Activate the environment

    Windows

    env\Scripts\activate
    

    macOS and Linux

    source env/bin/activate
    
  3. Install requirements

    pip install -r requirements.txt
    pip install -r requirements_dev.txt
    
  4. Create a .env in 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=""
    
  5. Instantiate the database

    flask shell
    DB.create_all()
    
  6. Run the server in development

    flask run
    
  7. 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
    

About

Work in progress dashboard for Chicago Array of Things

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •