Giter Club home page Giter Club logo

new_project_test's Introduction

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

new_project_test's People

Contributors

gidpoiiohika avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.