Miclo is a personal microblogging platform.
- Ruby 2.1
- Ruby on Rails 4.1
- GitHub API (Authorization callback path:
/auth/github/callback
)
$ git clone git@github.com:tnantoka/miclo.git
$ cd miclo/
$ bin/bundle —without production staging
$ bin/rake db:setup
# .powrc
export GITHUB_API_KEY="your-key"
export GITHUB_API_SECRET="your-secret"
$ curl get.pow.cx | sh
$ powder link
$ open http://miclo.dev/
$ git clone git@github.com:tnantoka/miclo.git
$ cd miclo/miclo_cookbook
$ bundle exec berks vendor
$ cp ~/.ssh/id_rsa.pub site-cookbooks/miclo_cookbook/files/default/authorized_keys
$ cp ~/.ssh/id_rsa site-cookbooks/miclo_cookbook/files/default/id_rsa
# ~/.ssh/config
Host vagrant.local
Hostname 127.0.0.1
User ops
Port 2222
$ export GITHUB_API_KEY="your-key"
$ export GITHUB_API_SECRET="your-secret"
$ vagrant up
$ cd ../
$ bin/bundle exec cap staging deploy
$ open http://localhost:8080/
$ git clone git@github.com:tnantoka/miclo.git
$ cd miclo/miclo_cookbook
$ bundle exec knife solo bootstrap user@example.com
$ bundle exec knife solo cook user@example.com
$ cd ../
$ bin/bundle exec cap production deploy
$ open http://example.com/
Please see CONTRIBUTING.md.