Monthly Archives: August 2013

Installing meteor

According to Meteor documentation, you can easily install it by using following command in your terminal

$ curl https://install.meteor.com | /bin/sh

To create a Meteor application simply run

$ meteor create myapp

To run your application

$ cd myapp $ meteor Running on: http://localhost:3000/

Now you can view your application at

http://localhost:3000

Laravel artisan commands

A quick refrence for Laravel artisan commands for database migration

Create a migration

Create a migration with table name

To run the migration

To rollback last migration

To rollback all migrations

Rollback all migrations and run them again

 Database seeding

 

 

 

CodeIgniter – accessing $config variable

To access the variables defined in the applocation/config/config.php in the other places in your application,

for example I have declared on config item called ‘api_key’  in our config file

to access this in your controller or views