-
Notifications
You must be signed in to change notification settings - Fork 24
Install Vidi
MapCentia edited this page Sep 21, 2016
·
4 revisions
It is easiest to run Vidi using Docker. After Docker is up and running, fetch the install, start and update scripts and run them.
Get the scripts.
curl https://raw.githubusercontent.com/mapcentia/dockerfiles/master/scripts/get.sh | bash
Run the install script. If you choose GC2 as backend, you have to edit vidi/config/config.js and set the gc2.host parameter. In this file you can also set other settings for Vidi.
bash scripts/vidi/install.sh
Run the start script.
bash scripts/vidi/start.sh
Browse either:
http://127.0.0.1:3000/app/[CartoDB_account]/[viz_id,viz_id,viz_id,...]
Or
http://127.0.0.1:3000/app/[GC2_account]/[schema,schema,schema,....]
Update Vidi source code with latest. The script will pull from Git and process html and JavaScript for production use. After updating restart Vidi by running the start script.
bash scripts/vidi/update.sh
bash scripts/vidi/start.sh