New late-2011 revision of Prosty, built on CakePHP. Early alpha state.
Requirements:
- PHP5x
- MySQL or equivalent
- Apache/webserver w/ htaccess and mod_rewrite support
- a kick-ass webbrowser! (you know which)
- phpMyAdmin or equivalent can be useful
- git clone [email protected]:konscript/prosty-cake.git
- download newest CakePHP 2.x core files and place in folder
- mysqladmin -u root -p create prosty-cake
- cp app/config/database.php.default app/config/database.php
- EDIT AND UPDATE database.php
- lib/Cake/Console/cake schema create [-s NUMBER]
- make a local dir 'prosty-cake' for the project (apache/webserver needs access to here)
- git clone the project to your local project dir ('git clone [email protected]:konscript/prosty-cake.git')
- download newest CakePHP 2.x core files and place in folder together with app/
- create an empty MySQL DB called 'prosty-cake' (no tables, just the DB)
- copy app/config/database.php.default to app/config/database.php
- edit database.php with your own local DB info
- from your project dir, run 'lib/Cake/Console/cake schema create -s NUMBER' (replace with number of the newest schema_NUMBER.php file, e.g. 4, select y & y when asked)
- now you have a DB with all the tables needed including a little data
- kick up your browser and you're baking baby!
mysqladmin path in MAMP (OSX):
/Applications/MAMP/Library/bin/mysqladmin
add this to database for MAMP (OSX) to work:
'port' => '/Applications/MAMP/tmp/mysql/mysql.sock',
default login:
user: admin
pass: admin