Skip to content
No description, website, or topics provided.
JavaScript Ruby HTML CSS
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
misc
public
spec
test
vendor/assets
.env.test
.gitignore
.nvmrc
.rspec
.rubocop.yml
.ruby-version
.travis.yml
Capfile.rb
DEPLOY.md
Gemfile
Gemfile.lock
LICENSE
Procfile
README.md
Rakefile
babel.config.js
config.ru
package.json
postcss.config.js
yarn.lock

README.md

SItCOM CRM

Software License Build Status

Sitcom is a CRM that connects persons, organisations and projects for Living Labs.

Development

bundle install
bundle exec rails db:migrate:reset
bundle exec rails db:seed
bundle exec rails app:bootstrap
bundle exec rake environment elasticsearch:import:all FORCE=true
bundle exec rails server
yarn
./bin/webpack-dev-server
bundle exec sidekiq -c 1

Run an ElasticSearch 7.4.2 container (optional)

docker run --name elasticsearch-sitcom --restart=always -d -p 9201:9200 -p 9301:9300 -e "discovery.type=single-node" -v "$PWD/.docker/elasticsearch/data":/usr/share/elasticsearch/data elasticsearch:7.4.2

Tests

bundle install
RAILS_ENV=test bundle exec rails db:create
RAILS_ENV=test bundle exec rails db:migrate
bundle exec rspec

Production

See DEPLOY.md on how to deploy on a Debian server.

API

The API documentation is accessible on https://domain.com/api/docs/index.html

It was generated with Slate and the repository was forked here: https://github.com/aurels/sitcom-apidocs

Misc

SItCOM CRM uses Bugsnag for bugtracking.

Bugsnag

You can’t perform that action at this time.