Skip to content

edimossilva/memory_app

Repository files navigation

Read Me

  1. Semaphore (parallel tests / lint)

    Build Status

  2. Code-climate - Test Coverage

    Test Coverage

  3. Code-climate - Maintainability

    Maintainability

  4. Heroku

    https://memory-app-back.herokuapp.com/

  5. Swagger

    https://memory-app-back.herokuapp.com/api-docs/index.html

  6. Docker images

    https://hub.docker.com/repository/docker/edimossilva/memory_app_rails https://hub.docker.com/repository/docker/edimossilva/memory_app_vue https://hub.docker.com/repository/docker/edimossilva/memory_e2e

Install

  1. create .env files from template

    cp frontend_vue/.env.example frontend_vue/.env

    cp backend_rails/.env.example backend_rails/.env

  2. start containers in background (only use images)

    docker-compose up -d docker-compose ps => should see "State=Up" for all containers

  3. config db

    docker-compose exec memory_app_back rake db:create db:migrate db:seed

  4. tests backend unit

    docker-compose exec memory_app_back rspec

  5. tests frontend e2e

    docker-compose exec memory_app_e2e xvfb-run -a cypress run

  6. access frontend client

    http://localhost:8080 => username: registered_user1, password: 111

  7. access admin

    http://localhost:3000/admin => username: admin, password: admin

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published