Download the PHP package freekrai/jolt-skeleton without Composer
On this page you can find all versions of the php package freekrai/jolt-skeleton. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download freekrai/jolt-skeleton
More information about freekrai/jolt-skeleton
Files in freekrai/jolt-skeleton
Package jolt-skeleton
Short Description A Jolt Framework skeleton application for rapid development of Jolt apps
License MIT
Homepage http://github.com/freekrai/jolt-skeleton
Informations about the package jolt-skeleton
Twilio Skeleton Application built on the Jolt framework
Use this skeleton application to quickly setup and start working on a new Twilio application. This application uses the latest Jolt and Twilio repositories.
This skeleton application was built for Composer. This makes setting up a new Twilio application quick and easy.
Install Composer
If you have not installed Composer, do that now. I prefer to install Composer globally in /usr/local/bin
, but you may also install Composer locally in your current working directory. For this tutorial, I assume you have installed Composer locally.
http://getcomposer.org/doc/00-intro.md#installation
Install the Application
After you install Composer, run this command from the directory in which you want to install your new Jolt Framework application.
php composer.phar create-project freekrai/jolt-skeleton [my-app-name]
Replace [my-app-name]
with the desired directory name for your new application. You'll want to point your virtual host document root to your new application's directory.
Edit config.ini with your configuration settings, and that's it! Now go build something cool.
Built-in server
With PHP 5.4 and up, we have a built-in web server, this is handy for local development.
You can run your new app locally using the following command in the terminal:
php -S localhost:8888 server.php
This will route all processes through the server.php file, which whill then treat this the same as if it was on a web server. This lets you handle local development nicely.
Structure
The Twilio Skeleton Application comes complete with a few pieces already in place.
-
SQLite database located in content/data/data.sqlite, this database holds user information, it also has a post table for doing whatever else you may want it to do.
-
Views, all output is handled by the views folder located in content/views/ the filenames correspond to actions used by the system.
- User system, you can quickly set up a user system with the /signup, /login and /dashboard actions that are already set up. Once logged in, you will also see a user dashboard and the ability to manage other users.
You can keep these, or remove them at your leisure, I just fiind it easier to get going when you already have something to work with.
Enjoy :)
All versions of jolt-skeleton with dependencies
j4mie/idiorm Version v1.4.1
j4mie/paris Version v1.4.2
pusher/pusher-php-server Version dev-composer
freekrai/simperium-php Version dev-master
gregwar/image Version dev-adapter
jolt/jolt Version dev-master