Before you begin
You need the following installed in your system:- Docker
- docker-compose if you want to deploy with docker compose
Deploy with Docker Run
Deploy with Docker Run
With Separate database server
With Separate database server
Prepare the connection string to database as below formatNow visit http://localhost:80 to start using AcademyKit.
Server={serverAddress};Database={dbName};User={dbUsername};Password={dbPassword};Convert Zero Datetime=True;
and replace {connectionString}
in below commandSetup both database and app on same machine
Setup both database and app on same machine
This is not recommended for production usage
- Create a docker network
- Run MySQL Change the password, username and container name as required
- Run the academyKit Change the environment variables as required.
Deploy With Docker Compose
Deploy With Docker Compose
Docker compose is the easiest way to get started with self-hosted AcademyKit.Now visit http://localhost:80 to start using AcademyKit.
Quick Start
-
Create
docker-compose.yml
inside a folder as below:docker-compose.yml
Application Configuration
Once app is running, let’s go the configure it.