new website

From SkyPHP

Jump to: navigation, search

1. Open your ssh program (ie. putty) and login to your server using your username and password.

2. Go to your public_html directory

 $ cd /home/username/public_html

2. checkout the latest version of skyphp framework

 $ svn co https://svn.skydev.net/skyphp/trunk/ ./skyphp/ 

3a. if you are starting a new codebase from scratch:

 $ mkdir mycodebase
 $ mkdir mycodebase/components
 $ mkdir mycodebase/pages
 $ mkdir mycodebase/templates

or

3b. if the codebase for your new website is in svn:

 $ svn co https://svn.skydev.net/mycodebase/trunk/ ./mycodebase/

4. link and/or create necessary files:

 $ ln -s skyphp/.htaccess .htaccess
 $ nano index.php

5. check that the $sky_media_local_path file path is writable

6. ensure server has necessary software and settings: imagemagick, db, apache, php.ini

7. create database -- install schema

8. insert new admin person record

Personal tools