💾 Installation
🍃 Let's start to install the docker stack.
First Time Installation
Create dir project
shellmkdir /var/www/leadersleague-v2mkdir /var/www/leadersleague-v2Clone repository into your folder
shellgit clone git@bitbucket.org:studio-in2com/docker-leaders.gitgit clone git@bitbucket.org:studio-in2com/docker-leaders.gitConfigure your env file
shellmake init-envmake init-envFor detailed instructions, consult the "Environment variables" section in the documentation.
Add your hosts entry points
shellnano /etc/hostsnano /etc/hostsRefer to the "Entry Point" section in the documentation for more information.
Cloning all repositories
shellmake init-reposmake init-reposGenerate local SSL certificates
🚨 OPTIONAL: only for local development
shellmake generate-sslmake generate-sslFor detailed instructions, consult the "SSL Certificates" section in the documentation.
Build and run containers
shellmake run-buildmake run-buildWait for approximately a minute.
Install vendor dependencies on API
shellmake init-composermake init-composerInstall the old database
shellmake init-databasemake init-databaseDetailed instructions can be found in the "Database Import" section of the documentation.
Install Drone.io CI Pipeline
shellmake init-dronemake init-droneGo 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-composermake refresh-stack && make run-build && make init-composer