-
Notifications
You must be signed in to change notification settings - Fork 5
Installation
You can use the Docker image to run Zoia:
docker pull mongo:latest
docker pull xtremespb/zoia:latest
docker run -d --name mongo mongo
docker run -p 3000:3000 -d --name zoia --link=mongo:mongo xtremespb/zoia
docker exec -it zoia node /usr/local/zoia/bin/install.js
On a Debian machines, you may wish to run the following commands to install the required packages (Node.js and MongoDB):
wget -q -O - https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install nodejs mongodb wget
Then, you will need to create a directory for Zoia and run the download script (/var/www/zoia for example):
mkdir /var/www/zoia && chdir /var/www/zoia
wget -q -O - https://xtremespb.github.io/zoia/zoia_download | bash
npm run zoia_config && npm run zoia_install && npm run zoia_webserver
zoia_download will download and extract the latest Zoia release from GitHub and then run npm install to install all required NPM packages for you.
To manually install Zoia on your server or desktop, you will need the following prerequisites:
- Node.js version 7 and later
- MongoDB 3 and later
Get your copy of Zoia from Github repository:
git clone https://github.com/xtremespb/zoia.gitModify the configuration files (config.json and website.json) to match your server settings. Don't forget to modify MongoDB settings. Then install the missing NPM modules and run the installer:
npm install && npm run zoia_config && npm run zoia_installRun the Zoia web server:
npm run zoia_webserverDefault address for Zoia webserver is http://127.0.0.1:3000/. You may also login to Administrator panel by opening the URL: http://127.0.0.1:3000/admin/ (default username and password is admin/admin).