Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.2 KB

README.md

File metadata and controls

37 lines (24 loc) · 1.2 KB

Hadnu

Codeship Build Status Code Climate Test Coverage

Hadnu is a library and discussion forum application.

This is the 5th major refactoring of Hadnu.

  • Version 1: vanilla HTML
  • Version 2: Zend Framework 1
  • Version 3: Yii Framework 1.1
  • Version 4: Yii Framework 2 + Bootstrap 3
  • Version 5: Ruby on Rails (REST API) + Vue.js (with Bootstrap 4)
  • Version 6: Ruby on Rails (with GraphQL) + Vue.js (with Vuex + Server Side Rendering + Bulma 0 + Object Storage)

Requirements

  • Ruby 2.4+
  • PostgreSQL 9.4+
  • ImageMagick

Deployment

Create a PostgreSQL database.

Copy .env.example to .env and configure it or add its variables to your webserver (Nginx, Apache, etc.) and shell environment.

Run bundle to install gem dependencies.

Run bundle exec rails db:migrate to run database migrations.

Testing

After installing, run bundle exec rspec.