pavlin-policar / TPO-zdravstveni-is

TPO 2015 / 2016 - Zdravstveni informacijski sistem
2 stars 0 forks source link

TPO Zdravstveni informacijski sistem

2015 / 2016

Installation

Run composer install in the project folder. See magic.

Composer

In case you don't have composer installed, you really really should. You can get it here.

Vagrant

Run vendor/bin/homestead make. You should now have a Homestead.yaml file in the project directory. Configure to your liking.

Homestead Vagrant

General

Deployment

To deploy, push / merge to master branch. Codeship (CI) set up to automatically commit changes to Heroku on passing build.

Codeship Heroku app

Templates

Form helpers for blade are installed. Docs

Gulp

To compile sass / es6 / and other useful things, run npm install in the base directory. This will install gulp and other dependencies that help with development. If you don't have npm, you can get it here.

To view or add gulp tasks, see the gulpfile.js for reference.

Gulp tasks:

Testing

Behat

For acceptance testing. Run vendor/bin/behat to run acceptance tests (if they exist).

Phpspec

Unit tests. Run vendor/bin/phpspec run to run spec (if it exists). To run continuous tests, use the gulp task gulp spec.