💾 Installation
🍃 Let's start to install the docker stack.
First Time Installation
Create dir project
shellmkdir /var/www/leadersleague-v2
mkdir /var/www/leadersleague-v2
Clone repository into your folder
shellgit clone git@bitbucket.org:studio-in2com/docker-leaders.git
git clone git@bitbucket.org:studio-in2com/docker-leaders.git
Configure your env file
shellmake init-env
make init-env
For detailed instructions, consult the "Environment variables" section in the documentation.
Add your hosts entry points
shellnano /etc/hosts
nano /etc/hosts
Refer to the "Entry Point" section in the documentation for more information.
Cloning all repositories
shellmake init-repos
make init-repos
Generate local SSL certificates
🚨 OPTIONAL: only for local development
shellmake generate-ssl
make generate-ssl
For detailed instructions, consult the "SSL Certificates" section in the documentation.
Build and run containers
shellmake run-build
make run-build
Wait for approximately a minute.
Install vendor dependencies on API
shellmake init-composer
make init-composer
Install the old database
shellmake init-database
make init-database
Detailed instructions can be found in the "Database Import" section of the documentation.
Install Drone.io CI Pipeline
shellmake init-drone
make init-drone
Go to the navigator:
- Open your web browser and navigate to https://localhost.
- Quick access links can be found in the #QUICK-LINKS section.
Enjoy 🎉
🍭 Tips
TIP
👇 Run the following command for refresh and launch your stack:
shell
make refresh-stack && make run-build && make init-composer
make refresh-stack && make run-build && make init-composer