Public | Automated Build

Last pushed: a year ago
Short Description
This is our Standard base image for rails.
Full Description

README

Build Status

Purpose of this Tool

We have to specify this carfully with as little words as possible!

Used Ruby

The currently used Ruby Version is 2.3.1

System dependencies

We use rvm to install the specified Ruby Version

Configuration

You need to create a database.yml in the config/ directory.
There is a sample file included in the same directory.
The default Database is sqlite3.

Database

Layout

Database creation

You can create the Database just by migrating.

rake db:migrate

Database seed

You can seed the Database with an default Admin Users.
You can find the credentials in db/seeds.rb

rake db:seed

Database creation and seeding

You can do both in one go with

rake db:reset

Use Docker

You can autosetup the enviorment with docker-compose up
This will start a postgresql, minio, and application server
You can access the application on http://localhost:3000

To run commands inside the container use docker-compose run collection_gatherer bundle exec rake db:setup

Get a bash inside container
docker run -it collectiongather_collection-gatherer /bin/bash

TODO

Tests

There are not tests setup right now

Services

We don't use external Services

Deployment

We don't have a deployment yet

Debug in Development Mode

We have included "better_errors" with binding_of_caller for Deep Error Inspection from the Browser.

Docker Pull Command
Owner
cedis
Source Repository

Comments (0)