SKY was written with the developer in mind. It adheres to the MVC architectural pattern used in many other software engineering projects. One of the key features of SKY is that it is extremely easy to learn and use. Don't get overwhelmed by "big" and "fancy" frameworks that try to do EVERYTHING. SKY does web apps, and it does it very well. I use SKY for all of my projects because I can get up and running in minutes and can start working on what I need to work on, right away.
SKY has only been tested under Ubuntu 12.04 and above and GoDaddy's Linux Hosted Shared servers. I will describe how to install SKY in both the Ubuntu version and GoDaddy servers.
Let's clone SKY into a base directory. I usually use
Make sure you can write to the
/var/www directory before executing the following code!
user@ubuntumachine: $ cd /var/www user@ubuntumachine: $ git clone https://github.com/boxman0617/SKY.git skycore
Now let's make sure you can access SKY from the command line now. Run the following in your terminal:
user@ubuntumachine: $ echo -e "export SKYCORE=/var/www/skycore\nexport PATH=$PATH:$SKYCORE/bin" >> ~/.bashrc
That will "register"
SKYCORE and the
/bin directory in the path of your terminal
and allow you to call
sky. To test this out do the following:
user@ubuntumachine: $ cd /var/www user@ubuntumachine: $ sky help
That should show you the current version of SKY that you have installed followed by some useful sky commands.
GoDaddy Installation instructions comming soon!
Now that you have installed SKY and you have checked that you can use the
sky command, let's
create a new app!
We start by running the following command where we want to create the new SKY app
For this example we will continue to work under
user@ubuntumachine: $ cd /var/www user@ubuntumachine: $ sky new myappname user@ubuntumachine: $ cd myappname
sky new myappname will create the initial SKY app structure.
You can now point your Apache server to that directory and you will see SKY's initial
Inside your shiny new SKY app you will find the following directories:
|app/||Contains the controllers, models, views, mailers and services for your application.|
|configs/||Configure your application's runtime rules, routes, database, and more.|
|lib/||Contains plugins to extends your Application, tasks, and temporary files like cache and such.|
|log/||Application log files.|
|test/||This directory holds the tests you can run for your Application. It includes the fixtures as well!|
|.htaccess||The HTACCESS file will allow the Application to route requests to SKY and your Application.|