Front End Dev notes - scottlove/MessageProducer GitHub Wiki

Installing website onto Apachehost

Set website up in Apache

  • cd /etc/apache2/sites-available
  • sudo cp 000-default.conf salco.conf
  • edit document root in salco.conf
  • sudo a2ensite salco
  • sudo service apache2 reload

Copy website to host

•pscp -r -P 56204 . [email protected]://home/username/app/website

copy page into /var/www URL for site:http://kafkaserver.cloudapp.net/salco/

Installing bower

  • Make sure npm is installed so bower can be installed
  • Make sure git is installed: npm install git -g
  • npm install bower -g

Installing jquery with bower

  • cd to js subdirectory in project
  • bower install jquery
  • Create bower file: bower init
  • Reinstall based on init file: bower install