Skip to content

Livestreams and meditation groups in the Thai Forest tradition

License

Notifications You must be signed in to change notification settings

mahadana/pujas.live

Repository files navigation

Quick Start

Install Docker and docker-compose. Then:

git clone https://github.com/mahadana/pujas.live.git
cd pujas.live
touch .env
docker-compose up

After Docker finishes, browse to:

The default credentials (for both):

  • Email: admin@pujas.live
  • Password: Password1

Task Helper

Usage: ./task <service> [command...]

  Bash shell                        ./task <service>
  Strapi console                    ./task backend console
  PostgreSQL console                ./task postgres console
  Redis console                     ./task redis console
  Mail console                      ./task mail console

  Run all tests                     ./task test
  Run <service> tests               ./task <service> test
  Watch <service> tests             ./task <service> watch

  Run npm install in node services  ./task install
  Apply auto-formatting (prettier)  ./task pretty
  Run linter (eslint)               ./task lint
  Add fake data                     ./task fake
  (Re)build Strapi admin            ./task build-admin
  Reset database                    ./task reset-db
  Clean containers, cache, etc...   ./task clean

Captchas, YouTube

A few additional steps are required to work with captchas and YouTube when developing locally.

  1. Create an account with hCaptcha.

  2. Create an API Key with YouTube API v3 access under Google Developer Console.

  3. Copy .env.example to .env. Edit as needed using the credentials created in steps 1-2.

  4. Edit /etc/hosts (or the equivalent):

    127.0.0.1 pujas.test
    
  5. Restart Docker processes:

    docker-compose restart
  6. Finally, use the following URLs when browsing: