This is a sample Django project used for Beginner's Series: Django. It's a fictitious company offering tours to space.
-
Clone the repository
git clone https://github.com/microsoft/beginners-django cd beginners-django/demo-code
-
Install the prerequisites
# Linux/macOS/BASH python3 -m venv venv source ./venv/bin/activate pip install -r requirements.txt # Windows python -m venv venv .\\venv\\scripts\\activate pip install -r requirements.txt
-
Open the project in Visual Studio Code
code .
For this sample, the SQLite database is included. Typically this would be ignored in the .gitignore file. To ensure a working site with data was provided, the starting database is included.