Skip to content

ankitjain28may/affiliates-connect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Optional steps but recommended

Install Traefik to access your Drupal site using their "domain name" instead of "IP:port" . This is an one time setup and use with all projects. This is usefull for both Drupal and Non-Drupal projects.

docker network create -d bridge traefik-network
docker run -d --network=traefik-network -p 80:80 -p 8080:8080 -v /var/run/docker.sock:/var/run/docker.sock --name=traefik traefik:latest --api --docker

Installation of Drupal on development server

Step 1

git clone https://github.com/ankitjain28may/affiliates-connect.git

Step 2 (optional)

Rename .env.example to .env and Modify .env file as per your requirements

Step 3

docker-compose up -d

Step 4

docker exec -it PROJECT_NAME composer install

Step 5 (Import configuration)

docker exec -it PROJECT_NAME vendor/bin/drupal ci

Step 6 (Rebuild Cache)

docker exec -it PROJECT_NAME vendor/bin/drupal cr

Installation of Drupal on production server

Here you need to override the default environment variables for production server. You can achieve it by below command while deploying.

SITE_NAME=example.com MYSQL_USER=someone MYSQL_PASS=yoursecrets docker-compose up -d

Login in Drupal using below credentials

username - admin

password - aaaaaa

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published