Skip to content

kkkiikkk/smog

Repository files navigation

SMOG

smog.pp.ua

System Requirements

Before you start, make sure your system meets the following requirements:

Ruby

  • Ruby version: 3.2.3
  • Rbenv: Recommended for managing Ruby versions (rbenv)

Databases

  • PostgreSQL: Required for Active Record

JavaScript and CSS

  • Bootstrap: Version 5.2 or later

Templating and View

  • Slim: Lightweight templating engine -Slim-Rails: Integration with Rails

File Uploads

  • CarrierWave: For file uploads, including image processing

User Authentication

  • Devise: User authentication solution

Install

Clone the repository

git clone [email protected]:kkkiikkk/smog.git
cd smog

Check your Ruby version

ruby -v

The ouput should start with something like ruby 3.2.3

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

rbenv install 3.2.3

Install dependencies

Using Bundler

bundle

Initialize the database

rails db:create db:migrate db:seed
rake app:migrate_images

Serve

rails s

Deploy

Docker and docker compose should be installed

ssh user@IP
cd /var/www/

Clone the git repository

cd smog
docker compose build
docker compose run web rails db:create db:migrate db:seed
docker compose run web rails asssets:precompile
docker compose run web rails app:migrate_images
docker compose up -d

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published