The goal of this project is to teach python to new people. This project is a python version from try-haskell
- Clone this repository
git clone git@github.com:IuryAlves/TryPython.git
cd TryPython
- Install python 2.x on your system
- Install git
- Install nodejs
- Make sure that
yarn
is installed, open a terminal and type:
yarn -v
- Install npm dependencies
yarn
- Install python virtualenv:
sudo pip install virtualenv
- Create a virtualenv:
virtualenv venv
source venv/bin/activate
- Install project backend dependencies:
pip install -r requirements/requirements.txt
-
Generate a DJANGO_SECRET_KEY here
-
Create a
.env
file in the home of the project and insert this linesDEBUG=True DJANGO_SECRET_KEY=[the-secret-key-that-you-gerenate]
Then save and close the file.
-
Run the migrations:
TryPython/manage.py migrate
- Load the fixtures of the project
TryPython/manage.py loaddata steps.json
- Run
TryPython/manage.py rollup_server
Now, just access localhost:8000
-
See the contributing guide
-
This project uses TravisCI TryPython on Travis
-
This project uses jquery.console