jichu4n / asciidoclive

Full-featured free online AsciiDoc editor https://asciidoclive.com/
Apache License 2.0
84 stars 23 forks source link

AsciiDocLIVE

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:

[source,bash]

git clone git@github.com:jichu4n/asciidoclive.git cd asciidoclive/client npm install bower install

npm install -g ember-cli

To run local development server on port 8001:

ember serve

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 setENABLE_DROPBOXtotrue`.

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:

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.