Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

pythonbrad/mayaschool

Repository files navigation

Mayaschool

School management system.

Overview

Installation

Backend of mayaschool

  • Download the source code
git clone -b dev https://github.com/pythonbrad/mayaschool.git --depth 1 
  • Creating of a virtual env
python3 -m venv .maya_env
source .maya_env/bin/activate
  • How to install the depedencies
pip install -r requirements.txt
  • Config the environment (.env file)
cd mayaschool
cp .env_example .env
  • How to config the database
python manage.py makemigrations
python manage.py migrate
  • Config the translation
python manage.py makemessages
python manage.py compilemessages
  • How to create an admin account
python manage.py createsuperuser
  • How to clean the migrationq
for migration in $(find . | grep "migrations/0.*.py");do rm -f $migration; done

Frontend of mayaschool

  • How to install the depedencies
cd static
mkdir vendor
cd vendor
git clone --depth 1 https://github.com/ColorlibHQ/AdminLTE.git tmp
cp -r tmp/dist adminlte
cp tmp/LICENSE adminlte/LICENSE
cp -r tmp/plugins/* .
rm -rf tmp

Run the project

python manage.py runserver 

Releases

No releases published

Packages

No packages published