stan 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/lib/stan/deployer.rb +2 -1
- data/lib/stan/server.rb +3 -0
- data/lib/stan/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e63b08def6870efea7578dfe7418ea72e0eaf132
|
4
|
+
data.tar.gz: 102f632f1d462811013b5dc87f8fb4d0cdc69fe5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3af40c780347d34babef63733dcb7dd8af3368dd484b4e6476f3e249d815995693b31445697c3ff52ea19fd93dc7bc1032f97e6d1b7ecb0840c1c6a7fe416023
|
7
|
+
data.tar.gz: aff6731285e910a0065f7ddcf14442ba871be06caa73c4343f0cc30e1f97ac4f5152cef71b2267697c117b7a132ac3567d17eb1e4e9b3e840767c6d6d2ed6eca
|
data/README.md
CHANGED
@@ -26,16 +26,18 @@ There are a few variables you have to set:
|
|
26
26
|
|
27
27
|
### Server
|
28
28
|
|
29
|
-
`STAN_UPLOAD_DIR=/tmp/stan/upload` is the directory where Stan will temporarly store sites before deploying them.
|
30
|
-
`STAN_PUBLIC_DIR=/srv/stan` is the directory where the final site will be deployed.
|
29
|
+
* `STAN_UPLOAD_DIR=/tmp/stan/upload` is the directory where Stan will temporarly store sites before deploying them.
|
30
|
+
* `STAN_PUBLIC_DIR=/srv/stan` is the directory where the final site will be deployed.
|
31
|
+
* `STAN_BIND=127.0.0.1` is the ip to bind to.
|
32
|
+
* `STAN_PORT=4567` is the port to use.
|
31
33
|
|
32
34
|
Please note that Stan will create a public directory and a directory for each deployed site within that folder.
|
33
35
|
The final site will then be deployed to `/srv/stan/public/my-site` for example.
|
34
36
|
|
35
37
|
### Client
|
36
38
|
|
37
|
-
`STAN_SERVER=pages.example.com` is the URL of the remote Stan server which must expose the `/upload` route. Define ports like usual.
|
38
|
-
`STAN_TEMP_DIR=/tmp/stan` is the directory where Stan will store the site after compressing it. The archive will be removed after upload.
|
39
|
+
* `STAN_SERVER=pages.example.com` is the URL of the remote Stan server which must expose the `/upload` route. Define ports like usual.
|
40
|
+
* `STAN_TEMP_DIR=/tmp/stan` is the directory where Stan will store the site after compressing it. The archive will be removed after upload.
|
39
41
|
|
40
42
|
|
41
43
|
## Development
|
data/lib/stan/deployer.rb
CHANGED
data/lib/stan/server.rb
CHANGED
data/lib/stan/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Flipez
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
123
|
version: '0'
|
124
124
|
requirements: []
|
125
125
|
rubyforge_project:
|
126
|
-
rubygems_version: 2.
|
126
|
+
rubygems_version: 2.6.11
|
127
127
|
signing_key:
|
128
128
|
specification_version: 4
|
129
129
|
summary: Static Site Deployment
|