First of all, use the gem command to install ubiquo:
gem install ubiquo
In order to get an Ubiquo based application you should run the ubiquo command:
ubiquo –mysql myapp
This will generate a fresh rails project using the Ubiquo generator.Now wait until the following tasks ends. After that you will have a ubiquo based project using a git repository with all ubiquo plugins as git submodules.
Once finished you must configure some options manually.
- Configure database: Ubiquo provides a simple database.yml configuration based on your choice through the template execution and you may change it. Open the config/database.yml and configure it as you need.
- Init the database: Ubiquo needs some initial data. It provides a rake task that initializes the database with that data.rake ubiquo:db:init
- Create the admin user: In order to start your first Ubiquo experience you need you user to log in. Run that rake task:
It will ask you some information about the user. Answer it and the user will be created.
This is an example of user creation:
Enter user login: admin
Enter user password: *****(admin)
Enter password again: *****(admin)
Enter user e-mail: firstname.lastname@example.org
Enter your name: Admin
Enter your surname: Admin admin
Should this user be active? yes
Should this user have admin privileges? yes
Should this user have superadmin privileges? yes
- Enjoy it!: At this point Ubiquo installation is finished. Run script/server and point your browser to http://localhost:3000/ubiquo