SSchool App is a modern, feature-rich platform designed to facilitate online learning and course management. It provides tools for creating, managing, and delivering educational content, as well as features for user enrollment, progress tracking, and interactive learning experiences.
Before you begin, ensure you have the following installed:
Clone the repository:
git clone https://github.com/vaam-store/sschool.git
cd sschool
Install dependencies:
yarn install
# or
npm install
Set up environment variables:
.env
file based on .env.example
.Database setup:
DATABASE_URL
in your .env
file.Run the Prisma migrations:
yarn prisma migrate dev
Start the development server:
yarn dev
# or
npm run dev
The following environment variables can be configured:
AUTH_SECRET
: Secret key for NextAuth.AUTH_KEYCLOAK_ID
, AUTH_KEYCLOAK_SECRET
, AUTH_KEYCLOAK_ISSUER
: Keycloak authentication settings.DATABASE_URL
: PostgreSQL database connection URL.S3_ENDPOINT
, S3_ACCESS_KEY
, S3_SECRET_KEY
, S3_PORT
, S3_SCHEME
, S3_BUCKET
, S3_CDN_URL
: S3-compatible storage settings (e.g., MinIO).OPENAI_KEY
, OPENAI_URL
: OpenAI API credentials.REDIS_URL
: Redis connection URL.See .env.example
for a complete list and descriptions.
Build the Docker image:
docker build -t sschool .
Run the Docker container:
docker run -p 3000:3000 sschool
Ensure that all necessary environment variables are passed to the container.
Contributions are welcome! Please follow these steps: