Draw 16 x 16 animated pictures. Draw! is a social flavored online pixel art editor.
Draw! it's also an experiment app about:
- html5 canvas element.
- redis
Follow @drawbang and read the blog at http://blog.drawbang.com.
bundler
and heroku
gems are needed, than just run
$ bundle
to install other required gems.
See also Gemfile
Copy Facebook config file example
$ cp config/facebook.example.yml config/facebook.yml
Copy Twitter config file example
$ cp config/twitter.example.yml config/twitter.yml
Start Redis server
$ redis-server config/redis.conf
Run
$ ruby server.rb
or run rake task server
, alias s
$ rake s
Run rake task console
, alias c
$ rake c
Run
$ heroku create
Before pushing any new version to Heroku be sure to recompile minified javascripts running
$ rake compile
To push master branch to Heroku run
$ git push heroku master
To see current configuration variables run
$ heroku config
To add configuration variables run
$ heroku config:add S3_KEY=xxx S3_SECRET=xxx
Minimal configuration variables:
FB_APP_ID
FB_APP_SECRET
TWITTER_CONSUMER_KEY
TWITTER_CONSUMER_SECRET
S3_KEY
S3_SECRET
To see Heroku logs run
$ heroku logs
Run
$ heroku console
Run
$ rake stats
$ bundle exec rake spec
Draw! (drawbang) is released under the MIT license.
If you find what looks like a bug:
- Check the GitHub issue tracker to see if anyone else has reported issue.
- If you don’t see anything, create an issue with information on how to reproduce it.
If you want to contribute an enhancement or a fix:
- Fork the project on github.
- Make your changes with tests.
- Commit the changes without making changes to the Rakefile or any other files that aren’t related to your enhancement or fix
- Send a pull request.