public
Description: A basic PHP5 MVC framework

Home

Basic install instructions:

1. Create a directory for your project

mkdir myproject

2. Enter that directory and grab a copy of SansWork

cd myproject
git clone git://github.com/sanswork/sanswork.git

3. Create your app directory

mkdir app
mkdir app/controllers
mkdir app/views
mkdir app/views/common

4. Update your server configuration to set the home directory to sanswork/www

5. Updates sanswork/config/db_connections.php to include your database information

6. In your project directory use the sanswork script to create your first controller and view

sanswork/sanswork controller welcome index

7. Once you’ve created your database you can use the sanswork script to generate your models as well

sanswork/sanwork ‘mysql://username:password@localhost/database_name’

Last edited by sanswork, 2 months ago
Versions: