Olymp Platform is an automated platform for informatics competitions.
- composer : 2.4.4
- symfony : 6.1
- mariadb : 10.5.1
- php : 8.1
To install and launch platform, you need:
- Install Symfony from official repository
- Clone project from github
git clone https://github.com/devrdn/olymp-platform.git
- Install dependencies
composer update
# or
php composer.phar update
- Connect your database in .env file:
# Example for mysql
DATABASE_URL="mysql://<user>:<password>@<ip>:<port>/<database>?serverVersion=<db-version>"
# Example for sqlite
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/olymp.db.sqlite"
MESSENGER_TRANSPORT_DSN=doctrine://default
- Install JS dependencies
npm install
npm run build
- Create database
php bin/console doctrine:database:create
- Make migration to database
mkdir -p migrations
php bin/console doctrine:migrations:diff
php bin/console doctrine:migrations:migrate
- Load initial data
php bin/console doctrine:fixtures:load
symfony server:start
- Makefile description (install project)
- Start with docker