Given a MojoMojo distribution file1 named mojomojo_vessel.tar.gz that extracts to MojoMojo/
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
/home/user/MojoMojo/
Next the shell environment must be made of aware of MojoMojo's location.
To make the current shell (terminal) aware of the MojoMojo distribution do:
cd MojoMojo source tools/shipwright-source-bash /home/user/MojoMojo
To have any terminal aware of the MojoMojo distribution, put the above source line into the .bashrc file.
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.
Once the database connection information has been configured, the database structure is initialized by executing:
bin/mojomojo_spawn_db.pl
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[2].