Skip to content

Commit

Permalink
Modified Readme
Browse files Browse the repository at this point in the history
Added new seeders instead of the old ones.
  • Loading branch information
zalsader committed Oct 1, 2015
1 parent 0c9bf25 commit 13e43ba
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 26 deletions.
18 changes: 18 additions & 0 deletions database/seeds/LevelTableSeeder.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

use Illuminate\Database\Seeder;
use Illuminate\Database\Eloquent\Model;
use App\Level;

class LevelTableSeeder extends Seeder {

public function run()
{
DB::table('levels')->truncate();

Level::insert([
// Your Levels here..
]);
}

}
18 changes: 18 additions & 0 deletions database/seeds/QuestionTableSeeder.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

use Illuminate\Database\Seeder;
use Illuminate\Database\Eloquent\Model;
use App\Question;

class QuestionTableSeeder extends Seeder {

public function run()
{
DB::table('questions')->truncate();

Question::insert([
// Your Questions here..
]);
}

}
2 changes: 2 additions & 0 deletions public/images/hints/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
2 changes: 2 additions & 0 deletions public/images/questions/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
29 changes: 3 additions & 26 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,4 @@
## Laravel PHP Framework
# Think Like A Programmer Platform
Think like a programmer is a pseudocode contest based on [Blockly](https://developers.google.com/blockly/), mainly [turtle](https://blockly-games.appspot.com/turtle).turtle

[![Build Status](https://travis-ci.org/laravel/framework.svg)](https://travis-ci.org/laravel/framework)
[![Total Downloads](https://poser.pugx.org/laravel/framework/d/total.svg)](https://packagist.org/packages/laravel/framework)
[![Latest Stable Version](https://poser.pugx.org/laravel/framework/v/stable.svg)](https://packagist.org/packages/laravel/framework)
[![Latest Unstable Version](https://poser.pugx.org/laravel/framework/v/unstable.svg)](https://packagist.org/packages/laravel/framework)
[![License](https://poser.pugx.org/laravel/framework/license.svg)](https://packagist.org/packages/laravel/framework)

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, queueing, and caching.

Laravel is accessible, yet powerful, providing powerful tools needed for large, robust applications. A superb inversion of control container, expressive migration system, and tightly integrated unit testing support give you the tools you need to build any application with which you are tasked.

## Official Documentation

Documentation for the framework can be found on the [Laravel website](http://laravel.com/docs).

## Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](http://laravel.com/docs/contributions).

## Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell at taylor@laravel.com. All security vulnerabilities will be promptly addressed.

### License

The Laravel framework is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)
The platform is ready for use, but some more features will follow.

0 comments on commit 13e43ba

Please sign in to comment.