Skip to content

💾 Installation

🍃 Let's start to install the docker stack.

First Time Installation

  1. Create dir project

    shell
    mkdir /var/www/leadersleague-v2
    mkdir /var/www/leadersleague-v2
  2. Clone repository into your folder

    shell
    git clone git@bitbucket.org:studio-in2com/docker-leaders.git
    git clone git@bitbucket.org:studio-in2com/docker-leaders.git
  3. Configure your env file

    shell
    make init-env
    make init-env

    For detailed instructions, consult the "Environment variables" section in the documentation.

  4. Add your hosts entry points

    shell
    nano /etc/hosts
    nano /etc/hosts

    Refer to the "Entry Point" section in the documentation for more information.

  5. Cloning all repositories

    shell
    make init-repos
    make init-repos
  6. Generate local SSL certificates

    🚨 OPTIONAL: only for local development

    shell
    make generate-ssl
    make generate-ssl

    For detailed instructions, consult the "SSL Certificates" section in the documentation.

  7. Build and run containers

    shell
    make run-build
    make run-build

    Wait for approximately a minute.

  8. Install vendor dependencies on API

    shell
    make init-composer
    make init-composer
  9. Install the old database

    shell
    make init-database
    make init-database

    Detailed instructions can be found in the "Database Import" section of the documentation.

  10. Install Drone.io CI Pipeline

    shell
    make init-drone
    make init-drone
  11. Go to the navigator:

    • Open your web browser and navigate to https://localhost.
    • Quick access links can be found in the #QUICK-LINKS section.
  12. 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

Released under the MIT License.