- LAMP/MAMP/WAMP/XAMP
- nodejs
- npm
- yo
- bower
- grunt
- sqlite
- curl
- sudo apt-get install lamp-server^
- sudo apt-get install nodejs
- sudo apt-get install npm
- sudo npm -g update
- sudo npm install -g yo bower
- sudo npm install -g grunt-cli
- sudo apt-get install php5-sqlite
- sudo apt-get install curl
- cd /var/www/ (or /var/www/html on CentOS)
- git clone https://github.com/InstigateMobile/vostan.git
- update config in client/src/app/app.js file, set the host to your local host path
- e.g. host : "http://localhost/vostan/public/api",
- in /etc/apache2/sites-enabled/000-default.conf file add the following:
<Directory /var/www/html>
AllowOverride All
Order deny,allow
Allow from All
</Directory>
- cd /etc/apache2/mods-enabled; sudo ln -s ../mods-available/rewrite.load .
- sudo service apache2 restart
- Give write permissions on the database to www-data
- sudo chgrp www-data remote
- sudo chgrp www-data remote/vostan.db
- curl -sS https://getcomposer.org/installer | php
- sudo mv composer.phar /usr/local/bin/composer
- php composer.phar install
- composer install
- npm install
- bower install
- grunt build
- grunt serve (for local run)