Skip to content

initiummedia/affair_poll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Affair Opinion Poll

Introduction

This is a poll of users' opinions of having affairs. Initiated by the Hong Kong News group of Initium Media, implemented by Initium Lab engineer Andy Shu.

Dependencies

Preparation

You need to install NodeJS.

Then use npm to install grunt commandline tools:

npm install -g grunt-cli

You might have to sudo.

Then, in the root project directory, run this to install all JavaScript packages:

npm install

Virtual Environemnt for Development

Install the virtualisation suite:

  • VirtualBox
  • Vagrant

Download image and launch virtual machine:

vagrant box add ubuntu/trusty64
vagrant up

Login the virtual machine and run server:

vagrant ssh
cd /vagrant
grunt serve

Then visit http://localhost:9000/

If you prefer not to use Vagrant for a unified environment, you can try to run

grunt serve

in the root directory. Then visit http://localhost:9000/

About

A poll about Hong Kong people's opinions of having affairs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published