- Mājaslapa: https://kosist.saulitis.dev
- Admin credentials
- Username: [email protected]
- Password: option123
- Sākotnējais dokuments: https://docs.google.com/document/d/1SRhEzSGWGs_138FUkqPDfD_ZpUUJL3FhAieG0tFNX1s/edit#
- Esošais dizaina apraksts: https://docs.google.com/document/d/1VqbX0v-3tz63FEKzLHdGlzlUp6WPW3DllULLItIK_jA/edit#
- Download and install Docker from https://www.docker.com/
- Download and install Git for Windows - https://git-scm.com/download/win
- All further actions should be done through GitBash terminal
- Install docker using -
sudo apt install docker.io
(Only Ubuntu/Debian) For other distros follow: https://docs.docker.com/desktop/linux/install/ - (If
docker compose
doesn't work) Install docker compose using following instructions - https://docs.docker.com/compose/install/linux/ - Set up permissions for Docker if needed:
sudo usermod -a -G docker [user_name]
newgrp docker
- Download and install Docker from https://www.docker.com/
- Run
bash build.sh
- Open https://kosist.test or https://localhost/ from browser of choice
- Run
docker compose build --no-cache
- Run
docker compose up -d
- Connect to docker instance
docker exec -it kosist-app /bin/bash
- Copy .env.example to .env
cp .env.example .env
- Install required php packages - run
composer install
- Install required npm packages - run
npm install
- Set up database - run
php artisan migrate
- Build frontend - run
npm run build
- Open https://localhost/ from browser of choice
- Edit
/etc/hosts
(Linux or macOS) orC:\Windows\System32\drivers\etc\hosts
(Windows) - Add
127.0.0.1 kosist.test
at the end of the file - Open https://kosist.test from browser of choice