SAMSES (Smart Administration and Management System for State Education System) is a comprehensive platform designed to facilitate efficient management of educational institutions. It allows MinistryAdmin and SchoolAdmin to manage academic sessions, terms, subjects, and more.
- Academic Sessions: Manage academic sessions for different types of schools (all, public, private, community, individual).
- Terms Management: Handle terms for academic sessions with validation to ensure proper sequence and date constraints.
- Subject Management: Add and manage general and specific subjects for various school programs.
- Python 3.x
- Django 5.x
- PostgreSQL
- conda or pipenv or virtualenv for environment management
git clone https://github.com/webalb/samses.git
cd samses
Using virtualenv
:
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
Using pipenv
:
pip install pipenv
pipenv shell
Using conda
:
conda create --name samses_env python=3.x
conda activate samses_env
pip install -r requirements.txt
Create a .env
file in the project root directory and add the following environment variables:
# .env
SECRET_KEY=your-secret-key
DEBUG=True
DATABASE_NAME=your_db_name
DATABASE_USER=your_db_user
DATABASE_PASSWORD=Your_user_password
DATABASE_HOST=localhost
DATABASE_PORT=5432
Make sure PostgreSQL is installed and running. Then, create the database:
psql -U postgres
postgres=# CREATE DATABASE samses_db;
postgres=# \q
Apply the migrations:
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
Visit http://localhost:8000
to view the application.
- Admin Panel: Access the Django admin panel at
http://localhost:8000/admin
to manage users, academic sessions, terms, and subjects.
Contributions are welcome! Please fork the repository and create a pull request with your changes.
- Fork the repository.
- Create a new branch:
git checkout -b feature-branch-name
. - Make your changes and commit them:
git commit -m 'Add some feature'
. - Push to the branch:
git push origin feature-branch-name
. - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for more information.
For any questions or issues, please contact [guramaauwal@yahoo.com].