commit e7f6169890c75e16286d31fc4fd45233b2622bc2
tree cbd90ce069f444fa265698ebdf1904409f025616
parent 5946e7b83b115dd0fa4e443675ae0bac492e4127
tree cbd90ce069f444fa265698ebdf1904409f025616
parent 5946e7b83b115dd0fa4e443675ae0bac492e4127
flak /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
LICENSE | ||
| |
README.markdown | ||
| |
Rakefile | ||
| |
app/ | ||
| |
config/ | ||
| |
db/ | ||
| |
lib/ | ||
| |
public/ | ||
| |
script/ | ||
| |
test/ | ||
| |
vendor/ |
README.markdown
Flak
A private, API-based chat server.
Requirements
- Ruby
- Rails
- Any database rails supports (we recommend MySQL, PostgreSQL or SQLite)
Recommended
- Git: http://git-scm.com/ (for osx: http://code.google.com/p/git-osx-installer/)
Setup
First, you need to get the project downloaded.
You can do that through git from the terminal:
git clone git://github.com/sevenwire/flak.git
Or you can download and extract from from http://github.com/sevenwire/flak/archives/master
Then you need to change directories to the root of the project:
cd /path/to/flak
Then you need to setup flak:
rake flak:setup
You can then change /path/to/flak/config/config.yml and /path/to/flak/config/database.yml to taste.
Create the project's databases; one for development and one for testing:
rake db:create:all
Create all the tables necessary to run the project:
rake db:migrate
Start the server so you can develop locally:
script/server
You can then access the application at: http://localhost:3000
Press Ctrl-C to quick the server.
Use
- Go to http://localhost:3000 in a web browser for an API reference
- Test with lib/flak_wrapper.rb, which mostly works (requires httparty, which you can install using: gem install httparty)
- Try it out with curl
- Write your own interface

