(this instructions assume a Mac/Linux terminal shell is used)
- Clone the project into a local working directory:
git clone https://github.com/lightstrike/mlworkshop.git
- Create a python3 virtual environment.
- Vanilla virtualenv inside the project directory:
virtualenv -p python3 venv
- Using virtualenvwrapper:
mkvirtualenv mlworkshop
- Vanilla virtualenv inside the project directory:
- Install all project Python packages:
pip install -r requirements.txt
- Create the Django database:
python manage.py migrate
- Create a superuser to access the admin:
python manage.py createsuperuser
- Run the development server:
python manage.py runserver
- Go to
http://localhost:8000
andhttp://localhost:8000/admin
to start exploring. Remember to upload a valid CSV file.