This is the source code of backend server for the [消息提醒] (https://itunes.apple.com/us/app/xiao-xi-ti-xing/id933267052?l=zh&ls=1&mt=8) app.
- ruby 2.0 +
- redis-server
- MySQL
- node.js
- libmysqlclient-dev
- libcurl3-dev
$ sudo apt-get install mysql-server
$ sudo apt-get install redis-server
$ sudo apt-get install nodejs
$ sudo apt-get install libmysqlclient-dev
$ sudo apt-get install libcurl3-dev$ brew install redis-server
$ brew install node
$ brew install mysql $ git clone git@github.com:duxins/tixing-server
$ cd tixing-server
$ bundle install$ cp config/{application.yml.example,application.yml}
$ vi config/application.yml
$ cp config/{database.yml.example,database.yml}
$ vi config/database.ymlCreate the database
$ bundle exec rake db:setup# start redis
$ redis-server
# start sidekiq
$ bundle exec sidekiq
# start rpush
$ bundle exec rpush start
$ rails s