Internet platform for the organization of remote work of students and graduates of the Department of Informatics.
This project provides you a environment without requiring you to install PHP, a web server, and any other server software on your local machine. For this, it requires Docker and Docker Compose.
- Install docker and docker-compose;
- Clone this project and then cd to the project folder;
- Run the initial build of the environment:
docker-compose build
- Install all composer and npm dependencies:
docker-compose run --rm composer i
docker-compose run --rm npm i
- Run the application using the command:
docker-compose up -d --build nginx phpmyadmin
- Create your own .env file by copying .env.example:
cp src/.env.example src/.env
- Generate the unique application key:
docker-compose run --rm artisan key:generate
- Now create the database:
docker-compose run --rm artisan db:create
- Then run migrations and seeds, which will create the necessary db data:
docker-compose run --rm artisan migrate
- Create a symlink for storing public data:
docker-compose run --rm artisan storage:link
- You've done! Main page is available on http://localhost, phpMyAdmin - http://localhost:3309
If necessary, you can independently use composer, artisan or npm with the following commands:
docker-compose run --rm composer ...
docker-compose run --rm artisan ...
docker-compose run --rm npm ...
This project is licensed under the GPL-3.0 License.