Getting Started - hackalog/bus_number GitHub Wiki
Let's get you set up to do Reproducible Data Science.
cookiecutter
-
conda
(and then python >= 3.6) make
- Install cookiecutter:
conda install -c conda-forge cookiecutter
- Install the
pydata_nyc
branch ofcookiecutter-easydata
:
cookiecutter https://github.com/hackalog/cookiecutter-easydata.git \
--checkout pydata_nyc
- Configure a new project. Call it bus_number:
project_name [project_name]: bus_number repo_name [bus_number]: ↵ module_name [src]: ↵ author_name [Your name (or your organization/company/team)]: Kjell Wooding description [A short description of this project.]: Reproducible Data Science Select open_source_license: 1 - MIT 2 - BSD-2-Clause 3 - Proprietary Choose from 1, 2, 3 [1]: ↵ s3_bucket [[OPTIONAL] your-bucket-for-syncing-data (do not include 's3://')]: ↵ aws_profile [default]: ↵ Select virtualenv: 1 - conda 2 - virtualenv Choose from 1, 2 [1]: ↵ Select python_interpreter: 1 - python3 2 - python Choose from 1, 2 [1]: ↵
- Create your Development Environment
cd bus_number
make create_environment
conda activate bus_number # or `source activate bus_number`
make requirements
git init
git add .
git commit -m "initial import from cookiecutter-easydata"
If you encounter an error installing nbdime
or nbval
, when you make create_environment
, edit your bus_number/environment.yml
file by removing the two lines:
- nbdime
- nbval
Re-save and pick up from make create_environment
.
That's it! You're ready to go