June 2018
Beginner
508 pages
13h 8m
English
Choose a folder in the book's environment and change into that. I'll use ch14. From there, we can start a Django project with the following command:
$ django-admin startproject regex
This will prepare the skeleton for a Django project called regex. Change into the regex folder and run the following:
$ python manage.py runserver
You should be able to go to http://127.0.0.1:8000/ with your browser and see the It worked! default Django page. This means that the project is correctly set up. When you've seen the page, kill the server with Ctrl + C (or whatever it says in the console). I'll paste the final structure for the project now so that you can use it as a reference:
$ tree -A regex # from the ch14 folderregex├── entries ...
Read now
Unlock full access