AsciiDocLIVE (https://asciidoclive.com[asciidoclive.com]) is a full-featured online http://www.methods.co.nz/asciidoc/[AsciiDoc] editor.
Main features:
Try it out at https://asciidoclive.com[asciidoclive.com]!
Demo
Click for demo:
https://youtu.be/th_H1gixMEE[image:http://img.youtube.com/vi/th_H1gixMEE/0.jpg["AsciiDocLIVE Demo"]]
Running Locally
AsciiDocLIVE uses the http://ember-cli.com/[Ember CLI] build system. To build:
git clone git@github.com:jichu4n/asciidoclive.git cd asciidoclive/client npm install bower install
npm install -g ember-cli
For Dropbox integration, https://www.dropbox.com/developers/apps/create[create an app]
on Dropbox and copy the generated App Key into the DROPBOX_APP_KEY
field in
https://github.com/jichu4n/asciidoclive/blob/master/client/config/environment.js[`/client/config/environment.js], and set
ENABLE_DROPBOXto
true`.
For Google Drive integration, https://developers.google.com/identity/sign-in/web/devconsole-project[create a new project] in the Google Developers Console and https://support.google.com/cloud/answer/6158862?hl=en&ref_topic=6262490[create a Browser API Key and OAuth Client ID]. Then populate the following fields in https://github.com/jichu4n/asciidoclive/blob/master/client/config/environment.js[`/client/config/environment.js`] accordingly:
ENABLE_GOOGLE_DRIVE
: true
GOOGLE_CLIENT_ID
: The OAuth Client ID (e.g., 12345678-abcdefg.apps.googleusercontent.com
);GOOGLE_APP_ID
: The leading digits of the OAuth Client ID preceding the hyphen (e.g., 12345678
);GOOGLE_API_KEY
: The Browser API Key (e.g., AbCdEfGh_1IjK
)Deployment
To build for production:
[source,bash]
----
cd asciidoclive/client
ember build --environment=production
----
The
https://github.com/jichu4n/asciidoclive/tree/master/production[`/production/`]
directory contains an example Dockerized NGINX server setup for the app. You
can use it as a template to build a Docker container for deployment.
License
The source code is distributed under the Apache License 2.0.