Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

feedforce/tech.feedforce.jp

Repository files navigation

旧 feedforce Engineers' blog Circle CI

tech.feedforce.jp

see: How to developer.feedforce.jp

Requirement

Getting Setup

$ ./script/bootstrap

Middleman Command

Start Local Server

$ bundle exec middleman
or
$ bundle exec middleman server

Create a Post

$ bundle exec middleman article post-name
== LiveReload accepting connections from http://192.168.1.187:4567 (localhost)
      create  source/posts/YYYY-MM-DD-post-name.html.md

Add a New Author

Edit data/author.yml

Deployment

Automatic Publication

🎯 When a Pull request is merged to master, CircleCI will build and push to gh-pages.

Pull Request Deployment

💡 Every pull request will deploy to https://feedforce-tech-blog-pr-NUMBER.herokuapp.com

Manual Deployment

🗿 You can deploy to http://feedforce-tech-blog.herokuapp.com for checking a new article.

  • Method1

  • Method2

    • You can deploy using git command.
    $ git push -f heroku <branch name>:master