|
|
@@ -10,25 +10,37 @@ SingleFile can be launched from the command line by running it into a (headless)
|
|
|
|
|
|
- Install [Node.js](https://nodejs.org)
|
|
|
|
|
|
-- Unzip the [master archive](https://github.com/gildas-lormeau/SingleFile/archive/master.zip) somewhere on your disk in an empty folder and go into the `SingleFile-master/cli` directory.
|
|
|
+- There are 3 ways to download the code of SingleFile, choose the one you prefer:
|
|
|
|
|
|
- `unzip master.zip .`
|
|
|
+ - Download and unzip manually the [master archive](https://github.com/gildas-lormeau/SingleFile/archive/master.zip) provided by Github
|
|
|
+
|
|
|
+ `unzip master.zip .`
|
|
|
|
|
|
- `cd SingleFile-master`
|
|
|
+ `cd SingleFile-master`
|
|
|
|
|
|
- `cd cli`
|
|
|
+ `cd cli`
|
|
|
+
|
|
|
+ `npm install`
|
|
|
+
|
|
|
+ - Download with `npm` (provided by Node.js)
|
|
|
+
|
|
|
+ `npm install 'gildas-lormeau/SingleFile#master'`
|
|
|
+
|
|
|
+ `cd node-modules`
|
|
|
+
|
|
|
+ `cd single-file`
|
|
|
+
|
|
|
+ `cd cli`
|
|
|
|
|
|
-- As an alternative to decompressing the master archive, you can clone the repository if `git` is installed on your machine and go into the `SingleFile/cli` directory.
|
|
|
+ - Download with `git`
|
|
|
|
|
|
- `git clone --depth 1 --recursive https://github.com/gildas-lormeau/SingleFile.git`
|
|
|
+ `git clone --depth 1 --recursive https://github.com/gildas-lormeau/SingleFile.git`
|
|
|
|
|
|
- `cd SingleFile`
|
|
|
+ `cd SingleFile`
|
|
|
|
|
|
- `cd cli`
|
|
|
-
|
|
|
-- Install dependencies with npm (installed with Node.js).
|
|
|
-
|
|
|
- `npm install`
|
|
|
+ `cd cli`
|
|
|
+
|
|
|
+ `npm install`
|
|
|
|
|
|
- Make `single-file` executable (Linux/Unix/BSD etc.).
|
|
|
|