diff --git a/README.md b/README.md new file mode 100644 index 0000000000000000000000000000000000000000..789b196d444adf46dfdb0bf7b0fcf87a378e31f7 --- /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 38f8b3ad924e050166e5e02fb0c60e7077b69d53..4995ecff43ea91ca36946a99ed1cda6fad438def 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\"]}