Just another microblogging with Rails 4.1 and Vue.js
Ruby HTML CoffeeScript CSS Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
lib
log
miclo_cookbook
public
spec
vendor/assets
.gitignore
.rspec
.rubocop.yml
.ruby-version
.travis.yml
CONTRIBUTING.md
Capfile
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
app.json
config.ru
home.png

README.md

Miclo Build Status Coverage Status Code Climate

Miclo is a personal microblogging platform.

Requirement

  • Ruby 2.1
  • Ruby on Rails 4.1
  • GitHub API (Authorization callback path: /auth/github/callback)

Installation

Development (Mac)

$ 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/

Staging (Vagrant)

$ 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/

Production (exmaple.com)

$ 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/

Production (Heroku)

Deploy

Live demo

Contributing

Please see CONTRIBUTING.md.

License

The MIT License

Author

@tnantoka