Skip to content

Commit 68a7de4

Browse files
committedMar 20, 2017
WIP
1 parent 440ea5d commit 68a7de4

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed
 

‎README.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,15 @@ If you have Markdown files with yaml frontmatter, you can directly import them
3737
as documents into CouchDB.
3838
Create the folder that will hold your Markdown documents:
3939

40-
mkdir -p volumes/couchdb/import
41-
40+
mkdir -p volumes/couchdb/import/articles
41+
mkdir -p volumes/couchdb/import/pages
4242

43-
Copy Markdown files into the import folder and import them (this only works
44-
locally and in development mode):
4543

46-
docker-compose -f docker-compose.admin.yml run import-couchdb-data
44+
Copy Markdown files into the corresponding folder and import them (this only
45+
works locally in development mode):
4746

47+
docker-compose -f docker-compose.admin.yml run import-couchdb-articles
48+
docker-compose -f docker-compose.admin.yml run import-couchdb-pages
4849

4950
7.) If you're on a Linux flavour, you have to raise the virtual memory max map
5051
count and disable `Transparent Huge Pages` on the Docker host:
@@ -60,7 +61,7 @@ count and disable `Transparent Huge Pages` on the Docker host:
6061

6162
9.) Restart the whole stack with everything set up:
6263

63-
docker-compose up --build
64+
docker-compose down && docker-compose up --build
6465

6566

6667
10.) Make the stack locally accessible via (sub-)domain in your hosts file:

‎src/api/Manifest.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@ module.exports = {
22
connections: [{
33
port: 8080,
44
labels: ['http'],
5-
host: {
6-
$filter: 'env',
7-
production: process.env.HOSTNAME,
8-
$default: 'localhost'
9-
}
5+
host: process.env.HOSTNAME
106
}],
117
server: {
128
app: {

0 commit comments

Comments
 (0)
Please sign in to comment.