Skip to content

Commit

Permalink
Add a README
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric-Guo committed Jan 26, 2016
1 parent c7e5fa6 commit 5d238df
Showing 1 changed file with 13 additions and 16 deletions.
29 changes: 13 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
## README

This README would normally document whatever steps are necessary to get the
application up and running.
Following the [DHH Rails 5: Action Cable Demo](https://medium.com/@dhh/rails-5-action-cable-demo-8bba4ccfc55e) or [Railscast](http://railscasts-china.com/episodes/action-cable-rails-5) but confirm works at Windows!

Things you may want to cover:
Need Rails 5.0.0.beta2 or build from [master](https://github.com/Eric-Guo/rails/commits/pgac_test), for those want to build rails gems in windows, need [remove em-hiredis](https://github.com/Eric-Guo/rails/commit/21e834f324233cfb51f012223e747872e5e150a7).

* Ruby version
Thanks @maclover7 [PR to enable using PG as storage](https://github.com/rails/rails/pull/22950) and @matthewd [PR to remove EventMachine](https://github.com/rails/rails/pull/23152), it's now possible to starting using ActionCable in Windows.

* System dependencies
### Step to setup the PG DB in Windows

* Configuration
[Download](http://www.postgresql.org/download/windows/) and install, recommand PostgreSQL v9.4.5

* Database creation
```bat
psql -U postgres
```

* Database initialization

* How to run the test suite

* Services (job queues, cache servers, search engines, etc.)

* Deployment instructions

* ...
```psql
CREATE USER pgac WITH PASSWORD 'only_need_in_windows';
CREATE DATABASE pgac_dev;
GRANT ALL PRIVILEGES ON DATABASE pgac_dev to pgac;
```

0 comments on commit 5d238df

Please sign in to comment.