CSS PHP HTML JavaScript API Blueprint
Permalink
Failed to load latest commit information.
angular Update copyright year to 2017 Dec 31, 2016
app Fix categories disappearing when updating confessions Feb 18, 2017
bootstrap Set 'NUSWhispers' as app namespace Dec 30, 2016
config Apply fixes from StyleCI Dec 31, 2016
database Upgrade to Laravel 5.4 Jan 29, 2017
public Update copyright year to 2017 Dec 31, 2016
resources Add admin page for settings Dec 31, 2016
routes Fix 500 when viewing the site via search engine crawlers Feb 18, 2017
storage Remove vagrant Jul 24, 2016
tests Fix categories disappearing when updating confessions Feb 18, 2017
.bowerrc Remove vagrant Jul 24, 2016
.editorconfig Add admin page for settings Dec 31, 2016
.env.example Add model factories for testing Nov 25, 2016
.env.travis Fix wrong test database name Nov 25, 2016
.gitattributes Remove force text to LF in .gitattributes Jul 24, 2016
.gitignore Support coveralls Dec 30, 2016
.jshintrc Fix invalid .jshintrc Jul 24, 2016
.styleci.yml Disable concat_without_spaces Nov 6, 2016
.travis.yml Support coveralls Dec 30, 2016
LICENSE.md Remove copyright year in LICENSE.md Nov 6, 2016
README.md Add Coveralls badge Dec 31, 2016
apiary.apib Update API docs to cover api_key input when submitting confessions Jun 5, 2016
artisan Remove vagrant Jul 24, 2016
bower.json Remove vagrant Jul 24, 2016
composer.json Upgrade to Laravel 5.4 Jan 29, 2017
composer.lock Composer update Feb 13, 2017
gulpfile.js Remove vagrant Jul 24, 2016
package.json Upgrade gulp-sass to 2.3.2 Jul 24, 2016
phpunit.xml.dist Support coveralls Dec 30, 2016
server.php Applied fixes from StyleCI Nov 6, 2016
yarn.lock No harm locking the yarn Nov 7, 2016

README.md

NUSWhispers

Dependency Status Build Status Coverage Status StyleCI Status

Laravel 5 + AngularJS setup.

Requirements

  • Web server with PHP support
  • MySQL / MariaDB
  • Redis

For a development environment, using docker-nuswhispers is highly recommended.

Installation

1) Rename .env.example to .env

2) Install PHP dependencies via composer:

cd /path/to/current/directory
composer install

3) Install JS dependencies via npm and bower:

cd /path/to/current/directory
npm install
bower install

4) Run database migrations and seed data via command line:

cd /path/to/current/directory
php artisan migrate
php artisan db:seed

5) Compile angular via gulp:

gulp prod

Credits