Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

renuo/renuo-cms-api

Repository files navigation

Build Status Build Status Code Climate Test Coverage Issue Count

Renuo CMS API

The backend of the Renuo CMS.

Documented here https://renuo.gitbooks.io/renuo-cms-doc/content/

API Documentation

http://petstore.swagger.io/?url=https://renuo-cms-api-develop.herokuapp.com/swagger.yml

See doc/README.md to see how to edit the documentation.

Domains

Master

Build Status

https://renuo-cms-api-master.renuoapp.ch

Develop

Build Status

https://renuo-cms-api-develop.renuoapp.ch

Testing

Build Status

https://renuo-cms-api-testing.renuoapp.ch

Installation

git clone git@github.com:renuo/renuo-cms-api.git
cd renuo-cms-api
bin/setup

Configuration

bin/setup
  • config/database.yml
  • config/application.yml

Rake Tasks

Delete all content blocks:

rake renuo_cms_api:delete_content_blocks

Tests / Code Linting / Vulnerability Check

Everything

bin/check

This runs

  • rspec
  • rubocop
  • brakeman

Rspec Only

rspec

CI & Code Quality

Server

bin/run

Release

  • Check current version, chose new version according to http://semver.org/
  • git fetch --all && git co master && git pull && git co develop && git pull
  • git flow release start x.x.x
  • Review the code since last version
  • git flow release finish x.x.x
  • git push --tags && git co master && git push && git co develop && git push

Copyright

Coypright 2016 Renuo AG.