Skip to content

A management system for schools and academies using Django.

License

Notifications You must be signed in to change notification settings

AnonC0DER/C1Academy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C1Academy

Summary

This project is an open-source academy management system. It can be used for schools, too. There are four types of users, Superuser, Manager, Teacher and student. Manager must be able to send message to all users. Teacher must be able to send a message to students. And students can view their messages.

Give me a hand with front-end

Plans

  • Use a front-end template
  • Rest APIs

Setting up things

Environment

Create a file named .env in the root directory and add all the variables there. An example of .env file:

HOST=localhost
DATABASE=test
USERNAME=testuser
PASSWORD=testpass123
ESQL_TOKEN=xxxxxxxxxxxxxxxx

Commands

  1. python manage.py migrate
  2. python manage.py create_groups
  3. python manage.py createsuperuser

In step 2, this custom management command create custom groups with custom permissions.
So, users will add to these groups, and they can have different permissions.

Custom management commands

I used ElephantSQL database, so I created some custom management commands for myself
to make it easier to interact to ESQL database APIs. If you're using this database for your own database.
So, these commands can help you too :

  • python manage.py backups -> List of all backups
  • python manage.py create -> Create a new backup
  • python manage.py restore -> Restore a backup using its ID

Files

Releases

No releases published

Packages

No packages published

Languages