/Chanter_FSCV

Projet du nouveau site Chanter.ch

Primary LanguageJavaScript

Chanter.ch

Informations

Keywords: Chanter.ch - Fédération des Sociétés de Chant du Valais - FSCV

Technical documentation

Technical documentation for chanter.ch webmasters.

Pre-requisite

This project uses Node.js, Materialize, Pug and Docker.

Please visit the official Docker website for more information about Docker.

Downloads

One Docker is installed, download the project Chanter.ch from GitHub with this link.

Project deployment

Open a terminal in your Chanter_FSCV folder.

If you want to deploy for Production click here.

If you want to deploy for Development click here.


Development deployment

1. Database

Open your database workbench.

Launch the script DiagramDBChanter_dev.sql

Add a user named dev with password unlucky and add him to the previous created database.

2. Run the app

Run :

docker-compose build && docker-compose -f docker-compose.override.yml up -d

Production deployment

1. Database

Run :

docker-compose build && docker-compose -f docker-compose.yml up -d

Open phpmyadmindomains.your-domain.tld in a browser.

Launch the script DiagramDBChanter_prod.sql.

Add a user named prod with password unlucky and add him to the previous created database.

2. Run the app

Run :

docker-compose build && docker-compose -f docker-compose.yml up -d