Skip to content

saltchang/caten-music

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2689d76 · Mar 12, 2025
Mar 12, 2025
Mar 12, 2025
Mar 12, 2025
Mar 12, 2025
May 29, 2019
Nov 16, 2024
Jan 12, 2025
Mar 12, 2025
Mar 12, 2025
Mar 12, 2025
Nov 9, 2024
Jan 10, 2020
Nov 10, 2024
Feb 4, 2020
Mar 12, 2025
Oct 11, 2019
Mar 12, 2025
Mar 12, 2025
Mar 12, 2025
Mar 12, 2025

Repository files navigation

A music web application for Caten Church.

  • View and search the songs you need.

  • Signing up to create a song list and share it to your partner.

  • Become an admin and create a new song, or edit an old one.

  • See Changelog

  • Also see Church Music API

Stack

Released

[0.6.0] - 2020-11-27

  • Update church music api url

Quick Start

Installation

To launch the app locally and quickly, use the sample env file.
Run the command to create a local environment file from default:

cp env.example .env

See Environment Variables for more information.

Build & Run

Make sure you have Docker installed and then continue.

  1. Build the app with docker-compose:

    docker-compose build
  2. Launch the app:

    docker-compose up -d

    Visit http://localhost:5000 then you will see the website.

  3. See log of the service

    • Use the terminal:
    docker-compose logs -f
    • Or use your docker GUI

Environment Variables

The format of the .env file must be like the following content:

DROPBOX_ACCESS_TOKEN=<Dropbox_API_token>
DATABASE_URL=<DATABASE_URL>
APP_SETTING=<Mode:[Production, Development, Testing]>
TEST_SETTING=Testing
=<Mail_Account_Username>
HASH_SALT=<Hash_Salt>
SECRET_KEY=<Secret_Key>

Backup Database

To backup the database, use the backup_db script, please try:

./backup_db.sh --help

The default backup directory is ./backups.