PHP, Silex and MongoDb Web Service for http://app.sanzvan.it
/feeds Will return list of feeds
/feeds?tag=:tag Will return list of feeds with tag
/feeds/:id Will return list of news of feed
/images Will return list of image
/places Will return list of places
/places/:id Will return details of place
/places/:id/images Will return list of images of the place
/tweets Will return list of tweets
/tweets?from=list Will return list of tweets from specific list
/tweets?from=search Will return list of tweets from specific search query
https://trello.com/b/T77KVRdx/sanzvan
-
install VirtualBox
-
install Vagrant
-
add '192.168.140.12 api.roundtown.dev' to your /etc/hosts
-
git clone [your forked repo]
-
cd RoundTownWs
-
$ git submodule update --init --recursive
-
cd tools
-
$ vagrant up
-
$ vagrant ssh
-
create db
$ mongo
$ [copy content of /tools/data/createdb.txt on mongo shell]
-
create file www/config/settings.yml from settings.yml.sample
-
create file www/silex.log and set permission to 777
-
open browser at http://api.roundtownws.dev/
-
/workspace/www is the working directory
-
cd /workspace/app
-
npm install
For production change SetEnv APPLICATION_ENV "dev" to SetEnv APPLICATION_ENV "prod"
This software library is licensed under GNU General Public License, Version 2.0