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
- djaodjin-pages for content management
- djaodjin-survey for assessments
Tested with
- Python: 3.12, Django: 5.2 (LTS)
Get a clone of the repository on your local development environment, and change the active directory to that source directory.
$ git clone https://github.com/djaodjin/djaopsp.git
$ cd djaopsp
The following commands are executed at the top of source directory.
Please first verify that you have at least Python3.10 and make installed on your development environment
$ python --version
Python 3.12.13
$ make --version
GNU Make 3.81
You will need to create a workspace environment, download the 3rd party vendor prerequisite packages and build the static assets.
$ python -m venv .venv
$ source .venv/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
You will want to toggle DEBUG on in the site.conf file.
$ diff -u installTop/etc/djaopsp/site.conf
-DEBUG = False
+DEBUG = True
# Create the tests databases and load test datasets.
$ make initdb
# To generate some sample data run:
$ python manage.py generate_test_data
# Spins up a dev server that re-compiles the `.css` files
# on page reload whenever necessary.
$ python manage.py runserver --nostatic
The app will be accessible at http://localhost:8000/djaopsp
See release notes

