Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jywarren/vendingmachine
A JavaScript vending machine emulator for smartphones.
https://github.com/jywarren/vendingmachine
Last synced: about 2 months ago
JSON representation
A JavaScript vending machine emulator for smartphones.
- Host: GitHub
- URL: https://github.com/jywarren/vendingmachine
- Owner: jywarren
- License: mit
- Created: 2015-03-07T16:05:55.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-13T00:22:01.000Z (over 9 years ago)
- Last Synced: 2024-10-14T08:15:02.129Z (3 months ago)
- Language: JavaScript
- Homepage: https://jywarren.github.io/vendingmachine/
- Size: 1.79 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# VendingMachine
###Objective
Get the snacks.
###Rules
Don't tip the machine too far or you'll get crushed.
###Developers
We are developing a snacks.json file format for submission fo new snacks, following the format:
````json
{
'name':'Snickers',
'weight':45,
'styles': {
'background':'#ca3',
'color':'#f00',
'background-image':'data-url("blabla")'
}
}
````This format has yet to be implemented and is open to suggestions.
###Installation
1. `git clone [email protected]:jywarren/vendingmachine.git`
2. `cd vendingmachine`
3. `bower install`
4. For local development: run `./server.py` and `ifconfig` to determine your machine's IP address, then navgate to `http://your-ip:8000/` on a smartphone on the same WiFi net.
5. Get snacks.