From 23a0c583977673f31f1fb93a434014cadcefd70f Mon Sep 17 00:00:00 2001 From: jtisserand <jtisserand@ippon.fr> Date: Wed, 9 May 2018 11:13:44 +0200 Subject: [PATCH] Create README --- README.md | 35 +++++++++++++++++++++++++++++++++++ docker-compose.yml | 2 ++ 2 files changed, 37 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..789b196 --- /dev/null +++ b/README.md @@ -0,0 +1,35 @@ +# Article server + +## Prerequisites + +Have the following software installed : +- docker +- docker-compose +- java 8 + +## Launch the application + +In the root application folder type + +`docker-compose up` + +and then + +`./mvnw spring-boot:run` + +## Connect to the app + +### Application + +[http://localhost:8080]() + +### Couchbase server + +[http://localhost:8091]() + +Login credentials : admin / adminadmin + +### Sync gateway + +[http://localhost:4985/_admin/]() + diff --git a/docker-compose.yml b/docker-compose.yml index 38f8b3a..4995ecf 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -62,6 +62,8 @@ services: \"bucket\": \"${BUCKET_NAME}\", \"username\": \"${SECURITY_USER}\", \"password\": \"${SECURITY_PWD}\", + \"enable_shared_bucket_access\": true, + \"import_docs\": \"continuous\", \"users\": { \"admin\": {\"password\": \"adminadmin\", \"admin_channels\": [\"*\"]}, \"test\": {\"password\": \"test\", \"admin_channels\": [\"CHANNEL_test\"]} -- GitLab