• This repository has been archived on 27/Nov/2022
  • Stars
    star
    101
  • Rank 338,166 (Top 7 %)
  • Language
    Ruby
  • License
    MIT License
  • Created almost 14 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

a realtime chat application for developers

AsakusaSatellite

Deploy

Build Status Code Climate Coverage Status wercker status

Overview

AsakusaSatellite is a realtime chat application for Developers.

Authors

  • @suer
  • @mallowlabs
  • @mzp
  • @shimomura1004
  • @banjun

Requirement

  • Ruby 2.5 / 2.6
  • Bundler 2.0.2 or later
  • MongoDB 3.6.12

Install

Install dependencies:

$ bundle install --path .bundle --without development test

Precompile assets:

$ bundle exec rake assets:precompile RAILS_ENV=production

If you upgrade AS from 0.7.0 or older, execute following:

$ curl https://raw.github.com/gist/2792357/asakusasatellite_migration_for_v0.7.0 | mongo <db_name>

Excecute mongodb and socky:

$ mongod --dbpath <dir_name>
$ bundle exec thin -R socky/config.ru -p3002 -t0 start

Run AsakusaSatellite:

$ bundle exec rails s -e production

and access to http://localhost:3000/

For JRuby user

How to deploy

$ bundle exec rake assets:precompile
$ bundle exec warble

limitation

  • Don't use socky on JRuby. use keima or pusher

For developers

Run

docker-compose up

and access to http://localhost:3000/

Test

individual testing

$ docker-compose run app bundle exec rspec spec/{controller,model}/$(name)_spec.rb

test all

$ docker-compose run app bundle exec rake

run with rcov

$ docker-compose run app bundle exec rake spec:rcov

auto testing

$ docker-compose run app bundle exec guard start

JavaScript testing

Requirement: phantomjs 1.5+

$ docker-compose run app bundle exec rake qunit

Generate Plugin Template

generate filter

$ docker-compose run app rails g as_filter test

edit filies

  • plugins/as_test_filter/lib/test_filter.rb
  • plugins/as_test_filter/spec/lib/test_filter_spec.rb

edit config/filters.yml

- name: test_filter

generate viewhook

$ docker-compose run app rails g as_viewhook test

edit files

  • plugins/as_test/lib/test.rb
  • plugins/as_test/spec/lib/test_spec.rb

Thanks

Very cute icons

Several icons are from Farm-Fresh Web Icons. These icon sets are licensed under a Creative Commons Attribution 3.0 License.

Cool sound

Cool sound is created by On-Jin. Do not redestribute the sound file.

Redmine logo

Redmine Logo is Copyright (C) 2009 Martin Herr and is licensed under ThereCreative Commons Attribution-Share Alike 2.5 Generic license.

See http://creativecommons.org/licenses/by-sa/2.5/ for more details.

More Repositories

1

FlickSKK

SKK(Simple Kana to Kanji conversion program) for iOS with flick keypad
Swift
56
star
2

homebrew-sparkling

⚑️brew sparkling install to install iOS apps over Lightning
Ruby
55
star
3

keima

A simple, open, realtime notification service
JavaScript
31
star
4

dashbozu

A missing line for software development
Scala
27
star
5

SKK-for-iOS

SKK(Simple Kana to Kanji conversion program) for iOS
C++
25
star
6

debeso

A snippet stock application for developers.
JavaScript
11
star
7

QuoteIt

quote from any web resource.
JavaScript
11
star
8

party-play

a modernized jukebox
JavaScript
7
star
9

ShimbashiShelf

A next generations document management system
Scala
6
star
10

hoshi-mi

β˜†γƒŸ: A portable graph / visualization tool
JavaScript
5
star
11

jenkins-plugin-hub

A Jenkins plugin hub site.
Ruby
5
star
12

dashbozu2

A webhook hub for development activities
Ruby
4
star
13

SparklingHelper

Xcode plugin that provides http gateway to access internal API.
Objective-C
3
star
14

WeakStreaks

Aim to implement glance view of ghstreaks
Swift
3
star
15

push-it

A super light-weight Apple push notification service.
Ruby
2
star
16

redbrew

A missing plugin manager for Redmine
JavaScript
2
star
17

sunline

A lightweight script and log management tool for DevOps
Ruby
2
star
18

ruboty-asakusa_satellite

AsakusaSatellite adapter for Ruboty.
Ruby
1
star
19

redbrew-cli

A Command Line Interface for Redbrew
Ruby
1
star
20

watage

Watage is a wrapper for web strage services.
Ruby
1
star
21

asakusa-satellite-for-chrome

A Chrome Extension for AsakusaSatellite
JavaScript
1
star
22

asakusa-satellite-manual

A manual of AsakusaSatellite
Ruby
1
star
23

dashbozu-manual

A manual for Dashbozu
Python
1
star
24

AsakusaSatellite-ios

AsakusaSatellite client app for iOS
Swift
1
star
25

QuoteIt-manual

A manual for QuoteIt
Python
1
star
26

AsakusaSatelliteSwiftClient

AsakusaSatellite API Client for Swift
Swift
1
star
27

duck-watcher

DuckWatcher watches loud ducks in Twitter and reports to AsakusaSatellite.
Ruby
1
star