You can now access a demo of Tricho without having to install it. Use the following authentication details:
User: demo Password: demodemo
Otherwise, keep reading to see how to install Tricho on your own system.
Install Tricho in a few quick steps:
The latest snapshot is 20140107. Extract it into the root directory of your development site.
Set up the configuration files
Copy the example config files from the
tricho/config. You will be editing the files in
Open the file
detect.phpand make sure it will detect your development environment.
Then add a random master salt to
all.php. On Linux, you can generate a random string by running
makepasswd --chars 40in a terminal. You can of course choose a number of characters other than 40.
Then put your site name, and database connection settings in
test.php. You will also need to specify email addresses for the
SITE_EMAILS_ADMINconstants. You can do the same in
live.phpif you know what the live settings will be - but don't worry, you can do that later - any time before you launch your site.
Run the install script
Point your browser at
http://your-server/tricho/install.php. This will set up all the tables that Tricho needs, which all begin with _tricho. It will also create the meta-data file
admin/tables.xml, which describes the database and how its data should be validated. And it will create a top-level account for you to use in the admin area.
Start working on your database
You can use the tools in
http://your-server/admin/setupto create new tables. Then go to
http://your-server/adminto start filling them with data. You can also generate meta-data and forms for any existing tables that you have by visiting
Write your front-end code
How you do that is entirely up to you. Long live freedom!