branch:
✔️ master
➖ k3d-cluster
➖ real-sharding
- copy this project
- go to copied directory, make sure you have python and pip installed, run hash_installation.bat (for windows) and then run
docker compose up -d
- in your terminal run
docker compose exec -it mainpagelaravel sh
and go to /code directory cp .env.example .env
- in .env file
DB_CONNECTION=mongodb
DB_HOST=mongo
DB_PORT=27017
DB_DATABASE=lus
DB_USERNAME=root
DB_PASSWORD=example
composer install
php artisan key:generate
php artisan migrate:fresh --seed
- repeat steps 3-7 for container redirectpagelaravel
- go to the fcc container, the /codeFCC directory, follow steps 4-7 and then run
php artisan schedule:work
- for a pretty looking link, add this to hosts file (Windows: C:\Windows\System32\drivers\etc\hosts; Linux: /etc/hosts) this line:
127.0.0.1 lnk.shrt
(or use when redirectlocalhost:80
instead)
web interface for mongodb http://localhost:8080/adminer, authentication required (http://localhost:8080/login, email: [email protected] password: 12345678!)