Skip to content
This repository has been archived by the owner on Feb 26, 2018. It is now read-only.

CLI Tools

Zack Siri edited this page May 27, 2014 · 3 revisions

Writefully comes with 3 CLI Tools you can use

App Generator

wf-app new [app-name]

Will generate a writefully based rails app for you pre-configured to get you started right away.

Content Writer

wf-write new post [content-name]

Will generate a new content for you and setup the structure with the metadata file and all that jazz. You can change the post to anything. It will depend on what model you used in your app as the content model. If you use a class Article you will need to use wf-write new article [content-name] to generate the content for you.

The wf-write command should be called from the content directory you cloned from github

Writefully Process

bin/writefully start config/writefully.yml

This command should be called from your rails app. It will boot the writefully instance for you. In production you can use the -d flag to daemonize the process.

Clone this wiki locally