1
0
mirror of /repos/Prototyper.git synced 2025-12-30 06:31:32 +01:00

simple docker databases

This commit is contained in:
Aiko Mastboom 2020-03-20 11:31:22 +01:00
parent 14b26a2ba2
commit 7510025f4d
3 changed files with 16 additions and 1 deletions

2
.gitignore vendored
View File

@ -11,3 +11,5 @@ fleet.json
node_modules/
doc/
public/lib
mongodb_data
rethinkdb_data

View File

@ -156,3 +156,14 @@ removes markers and everything in between.
contains all type='script' attributes concatenated based on 'order'
style -> <link href="/content/collection/name.css" media="all" rel="stylesheet" type="text/css">
contains all type='style' attributes concatenated based on 'order'
cucumber testing (needs higher nodejs version):
npm install --save-dev cucumber chromedriver selenium-webdriver
starting databases:
npm run mongodb
npm run rethinkdb

View File

@ -47,6 +47,8 @@
"install": "./bin/installit",
"deploy": "./bin/deployit",
"doc": "./bin/docit",
"cov": "./bin/coverit"
"cov": "./bin/coverit",
"rethinkdb": "docker run --rm --name rethinkdb -p 28080:8080 -p 28015:28015 -v ${PWD}/rethinkdb_data:/data rethinkdb",
"mongodb": "docker run --rm --name mongodb -p 27017:27017 -v ${PWD}/mongodb_data:/data/db mongo"
}
}