Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.17 KB

project_specific_setup.md

File metadata and controls

40 lines (28 loc) · 1.17 KB

Project-specific setup

This document contains setup instructions specifically for this project only. This design enables us to keep other docs easily aligned with future upstream changes to coefficient-cookiecutter.

Install system-level dependencies with homebrew

# brew install wkhtmltopdf

{% if cookiecutter.use_gcloud == 'y' -%}

gcloud setup

Install gcloud as per these instructions.

Run gcloud init to create a new named configuration. Unless it exists already, create a new configuration as required, e.g. {{ cookiecutter.virtualenv }}. This configuration can be activated at any point, for example:

gcloud config set project {{ cookiecutter.virtualenv }}

# Top tip: install tldr to get quick help with gcloud commands!
# https://dbrgn.github.io/tealdeer/
brew install tealdeer
tldr gcloud

{% endif %} {% if cookiecutter.use_jupyter == 'y' -%}

Jupyter kernel

python -m ipykernel install --user --name {{ cookiecutter.virtualenv }} --display-name "Python ({{ cookiecutter.virtualenv }})"

{% endif %}