/development/install a shipwright vessel
Install a MojoMojo Shipwright Vessel
Given a MojoMojo distribution file1 named mojomojo_vessel.tar.gz that extracts to MojoMojo/
Extract the files to a desired location:
cp mojomojo_vessel.tar.gz /home/user cd /home/user tar xfvz mojomojo_vessel.tar.gz
One should now have all the MojoMojo parts (modules, conf, pod etc.) installed in
Make the shell environment aware of the MojoMojo distribution
Next the shell environment must be made of aware of MojoMojo's location.
Single Terminal Awareness
To make the current shell (terminal) aware of the MojoMojo distribution do:
cd MojoMojo source tools/shipwright-source-bash /home/user/MojoMojo
All Terminals Awareness
To have any terminal aware of the MojoMojo distribution, put the above source line into the .bashrc file.
Provide Database Connection Info
After installing the MojoMojo distribution, one needs to configure MojoMojo. In particular, the database connection information. This is done by editing the file mojomojo.conf2. See Installation.pod3 for database connection examples for PostgreSQL, MySQL or SQLite.
Initialize the Database
Once the database connection information has been configured, the database structure is initialized by executing:
Fire up MojoMojo
MojoMojo is now ready to run. Do so with:
bin/mojomojo_server.pl -p 3000
The MojoMojo web application should now be running on your sever at port 3000. For more information see Installation.pod or INSTALL.