Skip to content

gidpoiiohika/new_project_test

Repository files navigation

Prerequisites

The setups steps expect following tools installed on the system.

  • GitHub
  • Ruby 3.0.1
  • Rails 7.0.3
  • PostgreSQL

Install

Check your Ruby version

ruby -v

The ouput should start with something like ruby 3.0.1

If not, install the right ruby version using RVM (it could take a while):

rvm install 3.0.1

Install dependencies

Using Bundler:

bundle install
  • delete credentials.yml.enc -> "config/credentials.yml.enc"
  • create an env file and fill in their data, you can see it in the env file.example

Screenshot 2022-11-21 at 00 29 46

  • run command "add your details:"
EDITOR="vim" bin/rails credentials:edit

Screenshot 2022-11-21 at 00 09 03

  • access_key_id and secret_access_key = link

  • gmail_user_name = Your mail

  • gmail_user_password = link

Initialize the database

rails db:create db:migrate db:seed

Run rails server

redis-server
bundle exec sidekiq
rails s

Docker

Install Docker Compose

docker-compose build && docker-compose up

list of possible commands for docker link

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages