Skip to content

masajid/masajid

Repository files navigation

README

Masajid is a non-profit project dedicated to mosques that are willing to create their own website.

Website: https://masajid.world

Requirements

  • Postgres
  • Redis and Sidekiq
  • Ruby 2.5.0 or newer (RVM is recommended)

Setup

$ git clone git@github.com:mgharbik/masajid.git
$ cd masajid/web_container
$ touch config/master.key # then copy/past the master key
$ bundle install
$ rails db:create db:migrate db:seed
$ rails content_places:import only=countries
$ rails s

Setup with Docker Compose

First rename .env.example to .env and change the database environment variables.

$ brew install libpq
$ gem install pg -- --with-opt-dir=/usr/local/opt/libpq

$ docker-compose up -d db redis

other steps:

  • add to /etc/hosts file
127.0.0.1       masajid.local
127.0.0.1       al-nour.masajid.local

Translations

  • Add or update translations, then sync:
$ rails translation:sync

Emails

Previews

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published