govuk-dummy_content_store 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -1
- data/bin/dummy_content_store +1 -1
- data/config.ru +0 -1
- data/lib/govuk/dummy_content_store/version.rb +1 -1
- data/public/styles.css +27 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6568800eda7308cdddb115c43972e14110aeece
|
4
|
+
data.tar.gz: c06ef281194d2537403066b4a47f1e2bf88cf317
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2cce3ebbf7c39365eb1cbb90c9b53eb4572107191f12b31021ea8572862c98e972b3a70eaa801b5aecff3307122f7825631151fab47a5d1e05ab1b18cf6e26f
|
7
|
+
data.tar.gz: 137a42ab511a188587daea7350b5a0ed87394a49e94a0a7ad894f706eeefb6141b970a898ffaa0bb56d41cfe475f580ad269883ca6aa14fb394072e9596c0ca0
|
data/README.md
CHANGED
@@ -16,12 +16,20 @@ Start the server using:
|
|
16
16
|
|
17
17
|
$ dummy_content_store
|
18
18
|
|
19
|
-
|
19
|
+
It will look for the schema files in the following locations:
|
20
20
|
|
21
21
|
1. at the path specified by the `GOVUK_CONTENT_SCHEMAS_PATH` environment variable
|
22
22
|
2. in the current directory
|
23
23
|
3. at the path specified in the first argument
|
24
24
|
|
25
|
+
## Configuration
|
26
|
+
|
27
|
+
By default the dummy content store runs on port 3068 which is the same port as
|
28
|
+
content store. If you want run it on a different port you can configure it
|
29
|
+
using the `PORT` environment variable:
|
30
|
+
|
31
|
+
$ PORT=9999 dummy_content_store
|
32
|
+
|
25
33
|
## Contributing
|
26
34
|
|
27
35
|
1. Fork it ( https://github.com/alphagov/govuk-dummy_content_store/fork )
|
data/bin/dummy_content_store
CHANGED
data/config.ru
CHANGED
data/public/styles.css
CHANGED
@@ -1,2 +1,27 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
body {
|
2
|
+
margin: 0 auto;
|
3
|
+
padding: 0 1em 3em;
|
4
|
+
max-width: 80em;
|
5
|
+
color: #111;
|
6
|
+
background: #fff;
|
7
|
+
font: medium 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
8
|
+
}
|
9
|
+
|
10
|
+
table {
|
11
|
+
border-collapse: collapse;
|
12
|
+
}
|
13
|
+
|
14
|
+
table th,
|
15
|
+
table td {
|
16
|
+
padding: .75em 1.2em;
|
17
|
+
border-bottom: 1px solid #ddd;
|
18
|
+
}
|
19
|
+
|
20
|
+
table th {
|
21
|
+
text-align: left;
|
22
|
+
border-bottom: 2px solid #ddd;
|
23
|
+
}
|
24
|
+
|
25
|
+
table tbody tr:nth-child(odd) {
|
26
|
+
background-color: #fafafa;
|
27
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk-dummy_content_store
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heath
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|