Skip to content

camerontweedle/dealmaker

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
bin
 
 
 
 
db
 
 
lib
 
 
log
 
 
 
 
 
 
 
 
tmp
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Dealmaker Clone

This app has been initilized as per https://docs.docker.com/compose/rails/

Build Image

docker-compose build

Initialize DB

docker-compose run web rails db:create

Run Migrations

docker-compose run web rails db:migrate

Seed DB

docker-compose run web rails db:seed

Run Tests

docker-compose run web rails test

NOTE: coverage report available at /coverage/index.html and is best viewed in a web browser as a file:// etc

Rubocop

docker-compose run web rubocop

Run Container

docker-compose up

(server should now be accessible at http://localhost:3000)

NOTE: if any permission errors are encountered with docker, try changing the ownership of the generated files, ie. sudo chown -R $USER:$USER . and/or rerunning the command with sudo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published