/djaopsp

Practices Sharing Platform, with assessment and improvement planning

Primary LanguagePythonBSD 2-Clause "Simplified" LicenseBSD-2-Clause

DjaoDjin Practices Sharing Platform

This repository contains the code for DjaoDjin practices sharing platform. To learn more visit DjaoDjin's Website.

The practices sharing platform is built on Django, Vue.js, Bootstrap frameworks and many more Open Source projects. Thank you for the support!

If you are looking to add features, this project integrates

Tested with

  • Python: 3.7, Django: 3.2 (latest), Django Rest Framework: 3.12

Install

First you will need to create a workspace environment, download the 3rd party vendor prerequisite packages and build the static assets.


    $ python -m venv installTop
    $ source installTop/bin/activate
    $ pip install -r requirements.txt
    $ make vendor-assets-prerequisites
    $ make install-conf
    $ make build-assets

At this point, all the 3rd party vendor prerequisite packages (Python and Javascript) have been downloaded and installed in the environment.

Then create the database, and start the built-in webserver

$ python manage.py migrate --run-syncdb
$ python manage.py createsuperuser
$ python manage.py runserver

Development

You will want to toggle DEBUG on in the site.conf file.


    $ diff -u installTop/etc/djaoapp/site.conf
    -DEBUG = False
    +DEBUG = True

    # Create the tests databases and load test datasets.
    $ make initdb

    # To generate some sample data, disable emailing of receipts and run:
    $ python manage.py load_test_transactions

    # Spins up a dev server that re-compiles the `.css` files
    # on page reload whenever necessary.
    $ python manage.py runserver --nostatic

Release Notes

See release notes