Unverified Commit 3bc3d282 authored by Sebastian Castro's avatar Sebastian Castro
Browse files

Update doc

parent 757afae1
......@@ -25,6 +25,8 @@ CSRF_PROTECTION=false # active csrf protection on production servers
MONGODB_URL=mongodb://mongo:27017
# If you don't use docker : MONGODB_URL=mongodb://localhost:27017
DATABASE_NAME=gogocarto_default
# if USE_AS_SAAS=true and your BASE_URL already contains a subdomain i.e farm.carto.org, then
# the DATABASE_NAME should equals the first subdomain of the base url : DATABASE_NAME=farm
###< doctrine/mongodb-odm-bundle ###
###> vich upload ###
......
......@@ -8,7 +8,7 @@ Installation with Docker
With the Docker installation, you have all the required softwares installed in two containers (`gogocarto` and `mongo`).
* Run `make build` to build the container images.
* Run `make docker-build` to build the container images.
* Run `make up` to launch the containers.
......@@ -61,10 +61,11 @@ Now initialize your project with the following route:
`http://localhost/GoGoCarto/web/project/initialize`
SAAS Mode (Software As A Service)
Multi Instance Mode (Software As A Service)
--------------------------
Instead of having a single GoGoCarto instance, you can transform your site in a "farm" by turning env variable USE_AS_SAAS to true
Instead of having a single GoGoCarto instance, you can transform your site in a "farm" by turning env variable USE_AS_SAAS to true. Every instance will use a subdomain, i.e if your base url is carto-farm.org, a new instance will be located at mymap.carto-farm.org with it's own database "mymap"
Note : If your base url is already a subdomain, i.e. carto.farm.org, your root database name should equals your root url subdomain name : `DATABASE_NAME=carto`.
For Development
--------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment