https://github.com/cetic/sitcom
https://github.com/cetic/sitcom
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cetic/sitcom
- Owner: cetic
- License: mit
- Created: 2016-10-12T08:54:22.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-03-08T17:50:13.000Z (over 3 years ago)
- Last Synced: 2024-04-14T05:52:54.228Z (about 2 years ago)
- Language: JavaScript
- Size: 7.85 MB
- Stars: 5
- Watchers: 7
- Forks: 1
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SItCOM CRM
[](LICENSE.md)
[](https://travis-ci.org/cetic/sitcom)
Sitcom is a CRM that connects persons, organisations and projects for Living Labs.
## Development
```sh
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
```
```sh
yarn
./bin/webpack-dev-server
```
```sh
bundle exec sidekiq -c 1
```
### Run an ElasticSearch 7.4.2 container (optional)
```sh
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
```sh
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](https://github.com/slatedocs/slate) and the repository was forked here: https://github.com/aurels/sitcom-apidocs
## Misc
SItCOM CRM uses [Bugsnag](https://bugsnag.com) for bugtracking.
