django-project/README.md
2023-03-18 20:18:02 +01:00

1.1 KiB

Barn Django App

Django project for the Barn web-app.

This project is in early development and is by far not suitable, much less safe, to run in production.

Quick Start

This section is more or less copied from Django Local Library

To get this project up and running locally on your computer:

  1. Set up the Python development environment. It is recommended to use a Python virtual environment.

    This has been tested against Django 4.1.4 (and may not work or be "optimal" for other versions).

  2. Assuming you have Python setup, run the following commands (if you're on Windows you may use py or py -3 instead of python to start Python):

     pip3 install -r requirements.txt
     python3 manage.py makemigrations
     python3 manage.py migrate
     python3 manage.py createsuperuser # Create a superuser
     python3 manage.py runserver
    
  3. Open http://127.0.0.1:8000 and log in with your username and password

  4. You can now create objects and view them