Offline installation?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Offline installation?

rockyallen
This post was updated on .
The current install instructions assume an internet connection. Which components can be installed off line (ie from CD) and how?
Obviously it needs a connection when preparing the CD, but after that installation and running need to be stand-alone.
I have Asciidoctor-ant working, but I would really like asciidoctor-fopub, asciidoctor-diagram, and the chart extensions from AsciidocFX as well.
Just to make it harder, it needs to be a non-admin install on Windows 7.
Any pointers (even can't-be-done) welcome.
Reply | Threaded
Open this post in threaded view
|

Re: Offline installation?

mojavelinux
Administrator
Rocky,

Technically, everything can be installed offline, provided you have the necessary packages. Of course, will need to validate that statement. (As you know, there are numerous attributes that need to be set in order for the generated HTML document to work offline, but that's a separate topic.)

Asciidoctor (core)::
If you download the gem from https://rubygems.org/downloads/asciidoctor-1.5.4.gem (linked from https://rubygems.org/gems/asciidoctor), you can install it using the `gem install` command without an internet connection. You'd need to do the same for any additional gem you need.

If you're on a Linux box, you can download the Linux package (rpm, deb, apk) and install that offline instead.

fopub::
Once you run fopub once, it should operate offline after that. The initial run uses Gradle to collect all the dependencies and setup the installation structure.

(If we put in a little bit of work, we could create a distribution for fopub that has the files already downloaded and in place).

Asciidoctor Diagram::
This is more complex since it requires not only the gem to be installed, but also any binary that is used (such as dot). Again, download the gem from https://rubygems.org/downloads/asciidoctor-diagram-1.4.0.gem (linked from https://rubygems.org/gems/asciidoctor-diagram) and install it using the `gem install` command.

The chart extension really isn't packaged at this point, so I don't really have instructions for that one. Eventually, we'll want something like an asciidoctor-chart gem.

-Dan

On Tue, Mar 22, 2016 at 6:21 AM, rockyallen [via Asciidoctor :: Discussion] <[hidden email]> wrote:
The current install instructions assume an internet connection. Which components can be installed off line (ie from CD) and how?
Obviously it needs a connection when preparing the CD, but after that installation and running need to be stand-alone.
Asciidoctor-ant works, but I would really like asciidoctor-fopub, asciidoctor-diagram, and the chart extensions from AsciidocFX as well.
Any pointers (even can't-be-done) welcome.


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Offline-installation-tp4534.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Dan Allen | @mojavelinux | http://google.com/profiles/dan.j.allen