h1. Install a MojoMojo Shipwright Vessel
h2. Install MojoMojo
Given a MojoMojo distribution file named mojomojo_vessel.tar.gz that extracts to MojoMojo/
h3. 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
h3. Make the shell environment aware of the MojoMojo distribution
Next the shell environment must be made of aware of MojoMojo's location.
h4. 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
h4. All Terminals Awareness
To have any terminal aware of the MojoMojo distribution, put the above source line into the .bashrc file.
h2. Configure MojoMojo
h3. 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.conf. See Installation.pod for database connection examples for PostgreSQL, MySQL or SQLite.
h3. Initialize the Database
Once the database connection information has been configured, the database structure is initialized by executing:
h3. 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.
fn1. Also known as a MojoMojo Shipwright vessel.
fn2. File may be located in: MojoMojo/lib/perl5/MojoMojo/
Showing changes from previous revision.