data_dashboards
Getting started with Python, Dash and Plot.ly for the Data Dashboards team
Getting started
MacOS users:
# Install the pyenv version manager.
#
# This will be used to make sure the Python interpreter we all use is consistent across developers and analysists' machines.
#
# Once pyenv is installed, take a moment to set it up with your system's shell by following the instructions at github.com/pyenv/pyenv.
$ brew install pyenv
# Set pyenv to use the Python version specified in .python-version
$ pyenv install # Install the project's Python version
# Install the Poetry package manager.
#
# This will be used to automatically manage dependencies on software packages such as Dash, Plotly, Pandas etc.
$ brew install poetry
# Install dependencies
#
# Download and set up the project's dependencies
$ poetry install
# Run the application
$ poetry run dev
# Run tests
$ poetry run test