Skip to content

CourseAdvisor/infra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CourseAdvisor infrastructure repository

[ Work in progress ]

This repository contains containers and scripts for setting up the courseadvisor backend as well as replication slaves, backup and deployment scripts.

Prerequisites

This repository assumes a regular linux distro with the following programs accessible on the cli:

  • docker
  • mysql (+ mysqldump)

Usage

TBD. The general idea would be to have frontend.sh expose all functionnalities although sub-projects should be as disconnected as possible.

Replication slave

Set up a replication slave like this:

sudo ./frontend.sh slave setup

And remove it with

./frontend.sh slave remove

Additionnal commands available: stop, start

(Notice: you must take care of starting the instance after a reboot yourself)

Master database

Master DB is deployed like this:

sudo ./frontend.sh master setup -b backup_db.sql where backup_db.sql is a sql file containing a backup of the production data.

Additionnal commands: stop, start, remove

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages