Skip to content
This repository was archived by the owner on Jan 18, 2018. It is now read-only.

Commit 4425592

Browse files
Initial code upload
1 parent 5d3b349 commit 4425592

File tree

125 files changed

+6707
-1257
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

125 files changed

+6707
-1257
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* text=auto
1+
* text=auto

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
#Ignore:
12
/bootstrap/compiled.php
23
/vendor
34
composer.phar
45
composer.lock
5-
.DS_Store
6+
.DS_Store
7+
thumbs.db

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
language: php
2+
3+
php:
4+
- 5.4
5+
6+
before_script:
7+
- composer install --dev
8+
9+
script: phpunit

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
CHANGE LOG
2+
==========
3+
4+
5+
## V0.1 Alpha (23/07/2013)
6+
7+
* Initial testing release

LICENSE.md

Lines changed: 661 additions & 0 deletions
Large diffs are not rendered by default.

app/commands/AppInstall.php

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?php
2+
3+
use Illuminate\Console\Command;
4+
use Symfony\Component\Console\Input\InputOption;
5+
use Symfony\Component\Console\Input\InputArgument;
6+
7+
class AppInstall extends Command {
8+
9+
protected $name = 'app:install';
10+
11+
protected $description = 'Installs Bootstrap CMS';
12+
13+
/**
14+
* Run the command.
15+
*/
16+
public function fire() {
17+
$this->call('down');
18+
echo "Pausing for 2 seconds to ensure there is no db activity from web requests.\r\n";
19+
sleep(2);
20+
$this->call('key:generate');
21+
$this->call('migrate');
22+
$this->call('migrate', array('--package' => 'cartalyst/sentry'));
23+
$this->call('db:seed');
24+
$this->call('up');
25+
}
26+
}

app/commands/AppReset.php

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?php
2+
3+
use Illuminate\Console\Command;
4+
use Symfony\Component\Console\Input\InputOption;
5+
use Symfony\Component\Console\Input\InputArgument;
6+
7+
class AppReset extends Command {
8+
9+
protected $name = 'app:reset';
10+
11+
protected $description = 'Resets And Installs Bootstrap CMS';
12+
13+
/**
14+
* Run the command.
15+
*/
16+
public function fire() {
17+
$this->call('down');
18+
echo "Pausing for 2 seconds to ensure there is no db activity from web requests.\r\n";
19+
sleep(2);
20+
$this->call('key:generate');
21+
$this->call('migrate:refresh');
22+
$this->call('migrate', array('--package' => 'cartalyst/sentry'));
23+
$this->call('db:seed');
24+
$this->call('up');
25+
}
26+
}

app/commands/AppUpdate.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?php
2+
3+
use Illuminate\Console\Command;
4+
use Symfony\Component\Console\Input\InputOption;
5+
use Symfony\Component\Console\Input\InputArgument;
6+
7+
class AppUpdate extends Command {
8+
9+
protected $name = 'app:update';
10+
11+
protected $description = 'Updates Bootstrap CMS';
12+
13+
/**
14+
* Run the command.
15+
*/
16+
public function fire() {
17+
$this->call('down');
18+
echo "Pausing for 2 seconds to ensure there is no db activity from web requests.\r\n";
19+
sleep(2);
20+
$this->call('migrate');
21+
$this->call('migrate', array('--package' => 'cartalyst/sentry'));
22+
$this->call('up');
23+
}
24+
}

0 commit comments

Comments
 (0)