Skip to content

Setup a new instance of PECE with Docker and Docker-Compose.

Notifications You must be signed in to change notification settings

PECE-project/pece-distro-setup

Repository files navigation

PECE Server Setup Automation

Automate server setup for new instances of PECE using Docker and Docker-Compose.


Requirements

Installation & Setup

  • Download/Clone this repository on your server to the desired folder
git clone https://github.com/PECE-project/pece-distro-setup.git <your-pece-instance-directory-name>
  • Enter <your-pece-instance-directory-name> directory:
cd <your-pece-instance-directory-name>
  • Copy .env.example file and rename it to .env

  • Edit your new .env file and set the following variables according to your needs.

Ex.:

DRUSH_OPTIONS_URI=http://<your-pece-instance-name.com>

### PROJECT SETTINGS

PROJECT_NAME=<your_pece_instance_name>
PROJECT_BASE_URL=<your-pece-instance-name.com>

DB_NAME=<your-pece-database-name>
DB_USER=<your-pece-database-username>
DB_PASSWORD=<put-a-strong-password-here>
DB_ROOT_PASSWORD=<put-a-strong-password-here>
  • Run the following command to install and start all services required for you PECE instance and go grab a tea/coffee because it might take some time.
make install
  • Access http://<your-pece-instance-name.com> on your browser and proceed with installation of your new instance of PECE.

Others commands

make up

If you need up the project only, no install.


make stop

If you need stop the project


make update

If you need update project with new version


make cert

If you need to generate a SSL certificate

See Makefile and docker.mk to see others commands.

About

Setup a new instance of PECE with Docker and Docker-Compose.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published