beginners-django/demo-code
Christopher Harrison 2c4b0c9190 Added demo code 2021-08-30 10:44:17 -07:00
..
project Added demo code 2021-08-30 10:44:17 -07:00
relecloud Added demo code 2021-08-30 10:44:17 -07:00
.gitignore Added demo code 2021-08-30 10:44:17 -07:00
README.md Added demo code 2021-08-30 10:44:17 -07:00
db.sqlite3 Added demo code 2021-08-30 10:44:17 -07:00
manage.py Added demo code 2021-08-30 10:44:17 -07:00
requirements.txt Added demo code 2021-08-30 10:44:17 -07:00

README.md

ReleCloud sample

This is a sample Django project used for Beginner's Series: Django. It's a fictitious company offering tours to space.

Install and startup steps

  1. Clone the repository

    git clone https://github.com/microsoft/beginners-django
    cd beginners-django/demo-code
    
  2. 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
    
  3. Open the project in Visual Studio Code

    code .
    

SQLite database

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.