Skip to content

How to add MSA to your project?

Alex Mourzina edited this page Sep 23, 2016 · 1 revision

Installation

Take for now the following: your project name is Finger.

This command pulls the image extremeprog/mongo-sites-api and runs container with name msa on your server.

$: docker run -d -it --restart=always --name=msa \
 -v /var/lib/mongo-sites-api/mongodb:/var/lib/mongodb \
 -p 8080:80 extremeprog/mongo-sites-api

Run prepare_site script that will set up db collections for your site, default admin user and domain name of your project.

$: prepare_site finger --domain-name=finger.com [email protected]

Register at the admin panel with the default admin email, that you've specified earlier. This is done in order to control the admin access to the site. So the first user registered at the system will be an admin. And others - not.