How to install the framework¶
Before getting started¶
The framework runs in python 3.6 or more. Download and install python following this guide if you don't already have it.
Open your favourite shell on the directory you have your project. (
cmd.exe on windows)
pip install scdata
Development instructions (advanced)¶
- Get the repo
Make a directory and
clone the repository in it:
mkdir smartcitizen-data cd smartcitizen-data git clone https://github.com/fablabbcn/smartcitizen-data.git
Want to stay up-to-date?
The framework is being constantly updated and the only version that will always be up-to-date is in the master branch of the github repository. We do not recommend to simply download the repository but to clone it with
git. If you want to learn more about
git and why it can help you in your projects, check here
- Finish it up
The code in the framework is managed as internal dependencies. To activate this, you can run:
python setup.py install
You should now be ready to go! You can verify the installation by either running this command:
jupyter lab --version
jupyter lab, in your terminal type:
This will open a web browser instance (by default localhost:8888/lab) which gives access to the tools in the framework.
Still wondering what this is? Read this introduction to Jupyter