Skip to content
This repository has been archived by the owner on Jan 25, 2021. It is now read-only.

Commit

Permalink
Merge pull request #2 from afpa-stbrieuc/mongodb
Browse files Browse the repository at this point in the history
merge mongodb with master
  • Loading branch information
lduboeuf committed Jan 12, 2016
2 parents 0364fbe + 84b96d5 commit 854206c
Show file tree
Hide file tree
Showing 22 changed files with 326 additions and 696 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ dist
app/components
release.zip
dist
app/cache
app/api/cache
app/api/cache git rm app/api/cache/.
app/api/cache git rm app/api/cache/*
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
env:
- PHP_DIR=app/api/
- PHP_DIR=app/api
language: php
php:
- '5.5'
- '5.6'
services:
- mongodb
before_install:
- phpenv config-add $PHP_DIR/config.ini
- npm install -g bower grunt-cli
- bower install
- composer self-update
install:
- npm install
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Sample init TODO project, built with:
- PHP Silex as the backend. ( use routing with yml config files )
- AngularJs. for client side
- Sqlite for the database.
- Mongodb for the database.
- Grunt for livereloading, build and tests tasks
- Travis configuration for continuous integration

Expand All @@ -17,7 +17,7 @@ This app is inspired by `yeoman` angular generator and several projects i don't
- [bower](http://bower.io/) ( `npm install -g bower` ) for assets management
- [php composer](https://getcomposer.org/) for server side php api
- `grunt-cli` ( `npm install -g grunt-cli`) as the tasks runner
- `sqlite` driver and enabled in php.ini
- `mongodb` driver and enabled in php.ini


##install
Expand Down Expand Up @@ -46,6 +46,6 @@ This app is inspired by `yeoman` angular generator and several projects i don't
- download the latest [Release](/releases/latest)
in the project directory launch the php embedded http server
```shell
php -S localhost:8000 -t . api/app.php
php -S localhost:8000 -t . api/app-dev.php
```

Loading

0 comments on commit 854206c

Please sign in to comment.