cs-24-sw-3-15 / contract-service

BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

contract-service

Ruby version

Ruby 3.3

Gem system dependencies

Install Guide

First install rbenv:

# MacOS
brew install rbenv
# Ubuntu Linux
sudo apt install rbenv libyaml-dev libvips-dev mupdf

Then install rbenv:

rbenv init
# Now follow its instructions to complete the installation.

Go into your project and write the following commands:

rbenv install 3.3.6
rbenv local 3.3.6

Run ruby --version to verify that its now on version 3.3.6.

Now go to Gem configuration to continue.

Gem configuration

Set up where gems should be installed, then install the dependencies.

bundle config set --local path vendor/bundle
bundle install

Database creation

Initializes and migrates the database (sqlite) to the latest revision available in the project.

bin/rails db:migrate

Run Puma Development Server

bin/rails server

Things Left to do