https://github.com/murilopolese/serious-amnesty
Serious Busines + Amnesty International Iceland
https://github.com/murilopolese/serious-amnesty
Last synced: 4 months ago
JSON representation
Serious Busines + Amnesty International Iceland
- Host: GitHub
- URL: https://github.com/murilopolese/serious-amnesty
- Owner: murilopolese
- Created: 2017-11-13T00:26:28.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-14T21:08:03.000Z (over 6 years ago)
- Last Synced: 2025-01-14T06:44:50.142Z (5 months ago)
- Language: JavaScript
- Size: 1.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## How to install
1. Clone this repo: `git clone [email protected]:murilopolese/serious-amnesty`
2. Navigate to the repo directory: `cd serious-amnesty`
3. Install npm dependencies: `npm install`## How to configure app?
Either change on the source code of `index.js` or create a file named `.env` on the root of this project's folder and write one or all the following key/values replacing the fake values with the actual values:
```bash
# main app port to listen (i.e 8000 will result the app listening to http://localhost:8000)
PORT=8080
# Interval between the queue items being selected (in milliseconds)
QUEUE_TIME=2000
```## How to run?
To run the main application (serves html form, writes to CSV and send websocket message):
`npm start`
To build front end source code:
`npm run build`
To watch for changes in the front end source code and rebuild automagically:
`npm run watch`
## Collecting CSV data
The app will create a file named `entries.csv` with all the form submission.