Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.
/ schorpong-next Public archive

A Schörpong kör honlapjának modernizált változata.

Notifications You must be signed in to change notification settings

kir-dev/schorpong-next

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Schorpong next

This project is archived. The development of the schorpong project continues in the old repository.

Tech stack

  • Ruby 3.0.2
  • Rails 6.1.4.1
  • Postgres 13.4

Local DB setup

To log in to postgres user:

sudo su postgres

Type your sudo password.

To create a database user for the project:

createuser -P -s postgres

Type postgres.

Change back to your normal user:

exit

Docker DB setup

Run only database container:

 docker-compose -f docker-compose.dev.yml  up 

Use the -d switch to run it detached in the background.

The database is accessible on port 5432, so you must update the port in config/database.yml.

After creating the database container you have to set up the database from the console.

##AuthSCH setup Copy .env.example into .env. Get dev credentials from authsch and fill in the required environment variables.

Set up the application

To setup the database:

rails db:setup

Other useful commands are rails db:create, db:migrate, db:seed and db:reset.

Linting

The project uses rubocop to enforce good quality code. On the local machine you can run rubocop to detect mistakes with

rubocop

And you can automatically fix minor mistakes with

rubocop -a

About

A Schörpong kör honlapjának modernizált változata.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published