Skip to content

cybergizer-hq/retrospective

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruby React

Retrospective

Development instructions

  1. Install docker: docker engine install

  2. Install docker-compose: docker compose install

(Docker Desktop for Windows and Mac includes Compose along with other Docker apps, so Windows and Mac users do not need to install Compose separately.)

  1. Clone the project: https://github.com/cybergizer-hq/retrospective

  2. Prepare:

docker-compose run runner bundle install
docker-compose run runner yarn install
  1. Create and setup postgres db:
docker-compose run runner bundle exec rails db:create db:setup
RAILS_ENV=test docker-compose run runner bundle exec rails db:create db:setup
  1. Add .env file to the root folder
DATABASE_URL=postgres://user:password@postgresql:5432/retrospective_development?max_connections=5
DATABASE_CLEANER_ALLOW_REMOTE_DATABASE_URL=true

In order to skip Alfred login and login with the first seed user put SKIP_ALFRED=true in your .env file also

  1. For Mac M1 users:

    Change line

    config.file_watcher = ActiveSupport::EventedFileUpdateChecker

    to

    config.file_watcher = ActiveSupport::FileUpdateChecker

    Add to docker-compose.yml

    services.app.rails:

    platform: linux/amd64

  2. Run app:

docker-compose up -d rails
docker-compose up -d webpacker

run Rails console if needed:

docker-compose run runner
  1. Run specs:
RAILS_ENV=test docker-compose run runner bundle exec rspec

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 61.6%
  • TypeScript 27.1%
  • Less 6.8%
  • JavaScript 1.7%
  • HTML 1.3%
  • Dockerfile 0.9%
  • Other 0.6%