A music web application for Caten Church.
-
View and search the songs you need.
-
Signing up to create a songlist 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
- Update church music api url
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.test .env
See Environment Variables for more information.
Make sure you have Docker installed and then continue.
-
Build the app with docker-compose:
docker-compose build
-
Launch the app:
docker-compose up -d
Visit http://localhost:5000 then you will see the website.
-
See log of the service
- Use the terminal:
docker-compose logs -f
- Or use your docker GUI
The format of the .env
file must be like the following content:
DROPBOX_ACCESS_TOKEN=<Dropbox_API_token>
DATABASE_URL=<DATABASE_URL>
DATABASE_URL_FOR_DEVELOPMENT=<DATABASE_URL_FOR_DEVELOPMENT>
DATABASE_URL_FOR_TESTING = <DATABASE_URL_FOR_TESTING>
APP_SETTING=<Mode:[Production, Development, Testing]>
TEST_SETTING=Testing
MAIL_USERNAME=<Mail_Account_Username>
MAIL_PASSWORD=<Mail_Account_Password>
HASH_SALT=<Hash_Salt>
SECRET_KEY=<Secret_Key>
FLASK_APP=run.py