Skip to content

cassianoblonski/Fullstack-Developer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cassiano Blonski Sampaio -

Codeminer42 Developer

Dependencies

Ruby 2.7.0
Rails 6.0.2.1
Postgres >= 9.1
Node 12.14.1
Bundler 2.1.2
Yarn 1.17.3

Installing

Copy the contents of the .env.example and database.yml.example to .env and database.yml then change with the credentials of your local environment.

$ cp .env.example .env
$ cp config/database.yml.example config/database.yml

Install gems and packages, setup the database and run.

$ bundle install
$ yarn install
$ rails db:setup
$ bundle exec rspec
$ rails s

Testing

Running tests:

$ bundle exec rake spec

Database

After installation steps the following admin user will be created in database

  1. A Admin User
E-mail:   admin@example.com
Password: password

Docker

After installation steps the following admin user will be created in database

$ cp .env.example .env
$ cp config/database.yml.example config/database.yml
$ docker-compose build
$ docker-compose run web

if needed run:
$ docker-compose run web yarn install --check-files
and then again:
$ docker-compose run web

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 78.0%
  • HTML 16.4%
  • JavaScript 3.5%
  • CSS 1.3%
  • Other 0.8%