Skip to content

Instantly share code, notes, and snippets.

@drog
Created July 30, 2014 16:58
Show Gist options
  • Save drog/a4dda605fda610b08ed2 to your computer and use it in GitHub Desktop.
Save drog/a4dda605fda610b08ed2 to your computer and use it in GitHub Desktop.
laravel
git clone -o laravel -b develop https://github.com/laravel/laravel.git registratusmarcas
cd registratusmarcas
composer install
php artisan key:generate
php artisan serve
"require": {
"way/generators": "dev-master"
}
composer update
add
'Way\Generators\GeneratorsServiceProvider'
to app/config/app.php and add the following line at the end of the providers array:
configurar app/config/database.php
php artisan migrate:install
php artisan generate:migration create_users_table --fields="first_name:string, last_name:string, email:string, sex:char, country:char, city:string, birth_date:date, passwd:string"
php artisan generate:migration create_competitions_table
php artisan generate:migration create_friends_table --fields="user_id:string, friend_id:string"
php artisan generate:migration create_notifications_table
php artisan migrate
php artisan controller:make MarksController
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment