VXiM is a Vagrant Box(Ubuntu 12.04) of Xitrum and MongoDB stack.
##How to Start
- Download and install VirtualBox by clicking here
- Download and install Vagrant by clicking here
- Install vagrant-berkshelf-plugin by
vagrant plugin install vagrant-berkshelf
- Install vagrant-omnibus-plugin by
vagrant plugin install vagrant-omnibus
- Install vagrant-hostsupdater-plugin by
vagrant plugin install vagrant-hostsupdater
- Clone this repository.
cd /path/to/vxim
vagrant up
- Wait few minute with a cup of coffee for the warmup virtual machine. This will take a little while depending on your internet connection.
Configuration Vagrantfile
- VXIM_HOSTNAME : Guest hostname this value will be add in
/etc/hosts
withvagrant up
. default value isvxim.localhost
- VXIM_IP : Guest ip address
- APP_NAME : Your application's name.
- APP_REPO : Your application's git repo.
- APP_MAIN : Your application's main class.
vagrant/app/$APP_NAME
will be exported as $APP_HOME
##Application
Application will start automatically.
So you can see application on http://vxim.localhost:8000
or https://vxim.localhost:4430
from host OS.
(Port 8000 and 4430 is default port of xitrum)
Default application scaffold is latest Xitrum-new
NOTICE Xitrum-new does not contain mongoDB related logic default.
For more customize, hack site-cookbooks/xitrum
.
Latest MongDB will be installed.MongoDB will working on 27017.
So you can access it with mongo vxim.localhost:27017
command from host OS.
For more customize, See community guide,