Skip to content
/ catima Public
forked from catima/catima

Rails app for creating online databases with flexible schemas, integrated navigation and search.

Notifications You must be signed in to change notification settings

Kinoba/catima

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CATIMA

Master: Build Status

Development: Build Status

Introduction

CATIMA is a Web app to create easily and quickly online catalogs of structured documents, by defining the data schema of the documents.

Each document is described by several data fields and represents a specific object. Many different types of objects can be created. The content of the document is used to make links between the different objects. CATIMA has also an integrated search option to search for different documents, as well as list views for each object type.

For some applications, CATIMA can be a replacement for databases such as FileMaker, but without offering many of the more advanced features. CATIMA is inteded to just work out of the box after defining the structure of the documents. CATIMA offers by purpose only relatively few personalization options. It still allows for creating custom content pages along with the catalog content.

Documentation

CATIMA is a Rails 5.2 app.

This README describes the purpose of this repository and how to set up a development environment. Other sources of documentation are as follows:

  • Server setup instructions are in PROVISIONING.md
  • Staging and production deployment instructions are in DEPLOYMENT.md
  • End-user documentation is in docs

Prerequisites

This project requires:

  • Ruby 2.4.1, preferably managed using rbenv
  • PostgreSQL must be installed and accepting connections
  • Redis must be installed and running on localhost with the default port
  • Imagemagick must be installed (brew install imagemagick)
  • Chrome (for testing with Selenium)

If you need help setting up a Ruby development environment, check out this Rails OS X Setup Guide.

Getting started

bin/setup

Run the bin/setup script. This script will:

  • Check you have the required Ruby version
  • Install gems using Bundler
  • Create local copies of .env, database.yml and geo_layers.yml
  • Create, migrate, and seed the database

Run it!

  1. Install NPM packages using yarn install
  2. Install foreman with gem install foreman
  3. Run foreman start -f Procfile.dev to start the Rails app.
  4. In a separate console, run bundle exec sidekiq to start the Sidekiq background job processor.

Tests

  • To run the full suite, run rails test
  • To run a single test, specify the line with rails test path/to/file:line_number
  • To view the integration tests running in the browser prepend HEADLESS=0 to the commands above

About

Rails app for creating online databases with flexible schemas, integrated navigation and search.

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 64.6%
  • JavaScript 14.4%
  • HTML 12.7%
  • PLpgSQL 4.6%
  • CSS 2.0%
  • CoffeeScript 1.6%
  • Shell 0.1%