Skip to content

elbeloonline/JSN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSN

Prerequisites

  • Python 3 (<= 3.11, as that version introduces breaking changes for some dependencies)
  • MySQL

Build instructions

  1. Install the virtual environment library: pip install venv
  2. Create a new virtual environment: python -m venv env
  3. Activate the virtual environment: .\env\Scripts\activate
  4. Install the required dependencies: pip install -r requirements/local.txt
  5. Edit config/settings/common.py to reflect your local MySQL settings.
  6. Run the database migrations:
    1. python manage.py makemigrations
    2. python manage.py migrate
  7. Create a super user and follow the steps on screen: python manage.py createsuperuser
  8. Execute the web server with: python manage.py runserver 8080

Execute report tasks

  1. Open a new terminal
  2. Run the following commnand: python manage.py process_tasks
  3. If the system detects any pending tasks, it will try to run them. The output should be reflected in the tasks window and the web server window

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •