ScholarSuite is a grade management application for schools. It allows to manage students, classes, school levels, subjects and grades.
Important
This application is only at the design stage. It is not yet developed. But contributions are welcome 😁.
Current state: we are working on the technical design of the application. And in parallel, we are working on the design of the application.
Prerequisites:
- Node.js (LTS version)
- PostgreSQL (version 15 or higher)
- Clone the repository
- Install dependencies (without development dependencies)
npm ci
- Create a
.env
file at the root of the project and add the environment variables. There is an.env.example
file that can be used as a template. - Instantiate the database
node --run db:generate
node --run db:push
node --run db:seed-prod
- Build the application. Using Turbo for caching.
turbo build
- Start the application
npm start
Sure, here's an improved version of the Docker documentation section:
To run ScholarSuite using Docker, you can use the provided docker-compose.yaml
file along with a specific environment file. This will start the application and its dependencies in separate containers.
To start the production environment, run the following command:
docker-compose -f docker-compose.yaml -f docker-compose.prod.yaml up
This will start the application and its dependencies in detached mode, meaning that the terminal will be free to use for other tasks.
If you make any changes to the application code or its dependencies, you may need to rebuild the Docker images. To do this, append the --build
flag to the docker-compose up
command:
docker-compose -f docker-compose.yaml -f docker-compose.prod.yaml up --build
To stop the containers, run the following command:
docker-compose down
This will stop and remove the containers, networks, and volumes created by docker-compose up
.
- Roadmap
- Technical documentation
- interested in deploying your app on Vercel? Check out the Vercel documentation.