This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit eb514ce3150b04bcc6c091b70a49348bffd8318b
tree f2dc55ed89159d284bb0a30c10024dd6d6107149
parent 75c007c84e56333d636c114547ca3ab2ea80ce71 parent 392ec742b1b6e6102de6efc431a9f5f90a8e43cb
tree f2dc55ed89159d284bb0a30c10024dd6d6107149
parent 75c007c84e56333d636c114547ca3ab2ea80ce71 parent 392ec742b1b6e6102de6efc431a9f5f90a8e43cb
flak /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Mon Nov 02 17:07:11 -0800 2009 | |
| |
LICENSE | Tue Oct 27 20:36:57 -0700 2009 | |
| |
README.markdown | ||
| |
Rakefile | Mon Oct 26 16:18:40 -0700 2009 | |
| |
app/ | ||
| |
config/ | ||
| |
db/ | ||
| |
lib/ | Mon Nov 02 17:07:11 -0800 2009 | |
| |
public/ | ||
| |
script/ | Mon Oct 26 16:18:40 -0700 2009 | |
| |
test/ | ||
| |
vendor/ | Tue Oct 27 20:45:46 -0700 2009 |
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 kill 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








