Skip to content

scienceofthings/traildiary-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use

The backend can be reached via http://localhost:8000/api/admin

Installation

  1. Install python3 and python3-venv
  2. Create virtual env directory (with IntelliJ or command line python3 -m venv venv)
  3. Run source venv/bin/activate
  4. Run pip install -r requirements.txt
  5. Run python mysite/manage.py makemigrations traildiary
  6. Run python mysite/manage.py migrate
  7. Run python mysite/manage.py createsuperuser --username me --email me@mymail.de
  8. Create file mysite/.env
  9. Rename mysite/env.sample to mysite/.env and change according to your needs.
  10. Create a file logfile.log in the main directory
  11. For development server: Run python manage.py runserver in the main directory

About

Backend for traildiary-frontend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages