ContestEase is a internal contest system developed mainly for fresh cup.
Here is detailed step about deploying ContestEase:
-
Clone ContestEase to your website folder;
-
Change your website root to
public
folder and then, if there is aopen_basedir
restriction, remove it; -
Now run the following commands at the root folder of ContestEase;
composer install
Notice: you may find this step(or others) fails with message like "func() has been disabled for security reasons", it means you need to remove restrictions on those functions, basically Laravel and Composer require proc_open and proc_get_status to work properly.
- Almost done, you still got to modify a few folders and give them permission to write;
chmod -R 775 storage/
chmod -R 775 bootstrap/
- OK, right now we still need to configure environment, a typical
.env
just like the.env.example
, you simply need to type the following codes;
cp .env.example .env
vim .env
- Now, we need to configure the database, thankfully Laravel have migration already;
php artisan migrate
- ContestEase's up-and-running, enjoy!