Skip to content
A Knowledge Management System for Research Teams
Ruby HTML CoffeeScript Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
log
public
spec
stroage
vendor/assets
.gitignore
.rspec
.travis.yml
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
config.ru

README.md

Natty

Build Status

Natty is a knowledge management system for research teams.

Features

  • Topics - Forum

  • Wiki - Simplified 'wikipedia'

  • Schedule - Calendar

  • Resources - File hosting

  • Instruments - Equipment register and booking

  • Inventory - Chemicals and supplies

  • Messages - Sending messages to colleagues

  • Group - Access control

  • API

  • Internationalization

    Currently avaliable locales:

    en-US (English), zh-CN (Simplified Chinese)

Dependencies

  • Linux

    Support of Windows is not guaranteed.

  • Ruby >=2.3.0

    The latest Ruby could be easily installed using RVM or rbenv.

  • PostgreSQL >= 9.4

  • Bundler

    gem install bundler

  • Git

    CentOS/Fedora: yum install git

    Debian/Ubuntu: apt-get install git

  • ImageMagick

    CentOS/Fedora: yum install ImageMagick

    Debian/Ubuntu: apt-get install imagemagick

  • Apache/Nginx

    CentOS/Fedora: yum install httpd / yum install nginx

    Debian/Ubuntu: apt-get install apache2 / apt-get install nginx

Deployment

  1. Clone the repository.

  2. Install required gems: bundle install.

  3. Initialize the database:

rake RAILS_ENV=production db:setup
  1. Precompile static files:
rake RAILS_ENV=production assets:precompile

If you deploy to a sub url, add:

RAILS_RELATIVE_URL_ROOT='/<YOUR_SUB_URL>'
  1. Use rails credentials:edit to set application credentials.

  2. Follow the instructions in ./config/initializes/mailer.rb to set your mailer.

  3. Start: rails server -e production

A more common way is to use Passenger/Puma as your web server.

Here is a comprehensive tutorial about how to deploy a Rails app with Passenger to production.

License

Copyright(c) 2015-2018 Wentao Liu

Released under the MIT License

You can’t perform that action at this time.