Created
December 12, 2011 07:18
-
-
Save mosbth/1465602 to your computer and use it in GitHub Desktop.
Install and setup Medes for MGA
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone git://github.com/mosbth/medes.git mga | |
http://www.student.bth.se/~mos/mga/ | |
cd site | |
cp config-sample.php config.php | |
cp config_setup-sample.php config_setup.php | |
chmod 777 data | |
login using adm:adm | |
create a new cpage | |
make a canonical link to your cpage | |
add the canonical link as a menu item in config_setup.php | |
point browser to setup.php and klick link "Save new configuration to database" | |
test it | |
Create a new file site/test.php, add the following to it: | |
$pp->SetPageTitle("Hello World"); | |
$pp->AddView(new CView("Hello world")); | |
Add a canonical url that points to it. Test it. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment