An application where you can create events and meetings, subscribe to them, add photos, comments, mark a place on the map and receive email notifications.
Quick registration via: Google
, Github
, VKontakte
The location of the event is displayed in Yandex.Maps
Images and photos are stored on Amazon S3
bucket.
devise
to work with usersrails-i18n
to internationalizationpundit
to authenticationcarrierwave
to upload imagesrmagick
fog-aws
mailjet
for email notificationsrspec-rails
for testsfactory_bot_rails
resque
for background jobscapistrano
for deploymentomniauth-rails_csrf_protection
for OAuth authentication- ...
- Set up
config/database.yml.example
for your database and rename it
$ mv config/database.yml.example config/database.yml
- Install gems
$ bundle
- Create database and run migrations
$ rails db:create
$ rails db:migrate
- Generate
master.key
and credentials file
$ EDITOR=nano rails credentials:edit
Example of credentials.yml.enc
(Optional for services working)
# AWS and Mailjet for production mode only
aws:
s3_access_key_id: <value>
s3_secret_access_key: <value>
s3_region: <value>
s3_bucket_name: <value>
mail:
default_mail: <value>
mailjet_api_key: <value>
mailjet_secret_key: <value>
maps:
api_key: <value>
oauth:
vkontakte_app_id: <value>
vkontakte_secret_key: <value>
github_client_id: <value>
github_secret_key: <value>
google_oauth2_app_id: <value>
google_oauth2_secret_key: <value>
:aws
— Amazon S3
:mail
— Mailjet
:maps
— Yandex.Maps API
:oauth
— OAuth VK
OAuth Github
OAuth Google
- Start sever
$ bundle exec rails s
Open localhost:3000
in browser.