Simple web page for city rally. Show coordinates of location and ask related question to unlock next location.
Main device for using this web page is Google Nexus 4 smartphone.
If you want to check how this website is working, you can go to http://nkoder.github.io/next-location and use sample answers:
#!locations/posag
-->20
#!locations/grabki
-->romb
#!locations/okna
-->6
#!locations/lasery
-->mapa
#!locations/reklama
-->TOTO
#!locations/klatka
-->scyzoryk
#!locations/brzozy
-->Bronisław
#!locations/dobro
-->Tacyt
Important notes:
- the main language of the page is Polish
30 maja
is a date written in Polish; it is used on the page as a title of the event on which page is supposed to be used
Install Node.js 0.10 or newer. Then run following command from the project directory:
-
npm install
to install dependencies -
npm start
to prepare project indist
folder and serve it under http://localhost:8000/index.html
From the project directory run npm run deploy
This command is not polished and typically an error occurs. A workaround is to force push.
cd .publish
git push --force origin gh-pages
cd ..
rm -rf .publish