From d00e41365645fefb904a5195328cf5e8185aafcf Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Sat, 3 Jan 2015 23:11:20 +0000 Subject: [PATCH] Revert "Updated build stuff" This reverts commit cf263150dfd65a10116322d87e7394c9ff47ab8b. --- .gitignore | 7 +++---- .travis.yml | 4 +--- app.json | 2 +- composer.json | 6 ++---- composer.lock | 2 +- docs/setup/install.md | 4 ++-- package.json | 8 ++++---- public/packages/.gitkeep | 0 8 files changed, 14 insertions(+), 19 deletions(-) create mode 100644 public/packages/.gitkeep diff --git a/.gitignore b/.gitignore index 2b60dff6..7c908775 100644 --- a/.gitignore +++ b/.gitignore @@ -9,12 +9,11 @@ config.codekit !.env.heroku.php !.env.example.php -# Assets +# Assets development app/assets/bower_components node_modules -public/build -public/css -public/js +public/css/ +public/js/ # Packages npm-debug.log diff --git a/.travis.yml b/.travis.yml index 163cba85..65e3c376 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,9 +8,7 @@ php: sudo: false -install: travis_retry composer install --no-interaction --no-scripts --prefer-source - -before_script: php artisan cachet:one-click-deploy +install: travis_retry composer install --no-interaction --prefer-source script: - bash -c 'if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then vendor/bin/phpunit; fi;' diff --git a/app.json b/app.json index 653c1d30..df3f588c 100644 --- a/app.json +++ b/app.json @@ -19,6 +19,6 @@ "BUILDPACK_URL": { "value": "https://github.com/Scalingo/appsdeck-buildpack-php", "description": "Do not modify this value to work on Heroku" } }, "scripts": { - "postdeploy": "php artisan migrate --env=heroku; php artisan key:generate;" + "postdeploy": "php artisan migrate --env=heroku; php artisan key:generate" } } diff --git a/composer.json b/composer.json index 7b1e433d..1cdc437f 100644 --- a/composer.json +++ b/composer.json @@ -57,13 +57,11 @@ "post-install-cmd": [ "php artisan optimize", "chmod -R 755 app/storage", - "php artisan cachet:one-click-deploy", - "$(npm bin -q)/gulp" + "php artisan cachet:one-click-deploy" ], "post-update-cmd": [ "php artisan clear-compiled", - "php artisan optimize", - "$(npm bin -q)/gulp" + "php artisan optimize" ], "post-create-project-cmd": [ "php artisan key:generate" diff --git a/composer.lock b/composer.lock index 1ea96324..f40568cd 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "14c7b597c27afa4b28ab9004271e1417", + "hash": "18f348e602f5894b0f1fd1189da5ba29", "packages": [ { "name": "classpreloader/classpreloader", diff --git a/docs/setup/install.md b/docs/setup/install.md index 0a35aa25..4c05449d 100644 --- a/docs/setup/install.md +++ b/docs/setup/install.md @@ -37,8 +37,6 @@ $ cd Cachet $ composer install --no-dev -o ``` -If you don't want to compile the assets yet, you may want to run composer with the `--no-scripts` flag. - # Deploy to Heroku When using the **Deploy to Heroku** button you needn't worry about using a database as the install will setup a free instance of ClearDB. Once installed Heroku can direct you to the setup page where you'll configure the site/application information and create an administrator account. @@ -78,6 +76,8 @@ return [ 'DB_USERNAME' => 'root', 'DB_PASSWORD' => 'secret', ]; + +?> ``` > Even though SQLite doesn't require a host, username or password, these still must be set (an empty string will suffice). diff --git a/package.json b/package.json index 44ebb822..50bf5a5e 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { - "dependencies": { + "devDependencies": { "gulp": "^3.8.8", - "gulp-rimraf": "~0.1.1", - "laravel-elixir": "~0.9.1", - "laravel-elixir-jshint": "~0.1.6" + "gulp-rimraf": "0.1.1", + "laravel-elixir": "*", + "laravel-elixir-jshint": "0.1.6" } } diff --git a/public/packages/.gitkeep b/public/packages/.gitkeep new file mode 100644 index 00000000..e69de29b