EventSource
Provide polyfill to support EventSource in browser where it is not available
File Explorer
Download Latest Version (.zip)- browserify-eventsource.js
- eventsource.js
- eventsource.min.js
- boot.js
- console.js
- jasmine-html.js
- jasmine.css
- jasmine.js
- jasmine_favicon.png
- concurrentSpec.js
- eventsourceSpec.js
- browserify-eventsource.js
- eventsource.js
- SpecConcurrentRunner.html
- SpecRunner.html
- evs_tests.conf
- evs_test_server.conf
- __init__.py
- log.py
- protocol.py
- utils.py
- test_eventsource.py
- requirements.txt
- .gitignore
- .gitmodules
- bower.json
- docs
- Gruntfile.js
- LICENSE
- package.json
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/amvtek/EventSource
Downloads the entire project code from GitHub to your computer.
cd EventSource
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm install eventsource-polyfill
Downloads and installs the libraries listed in package.json.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
3. Python
EasyPrerequisites
pip install -r test_server/requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
python <μ€νν νμΌλͺ
>.py # READMEμμ μ νν μ€ν νμΌλͺ
μ νμΈνμΈμ
Runs the Python script (or module).
If it runs without errors and prints output in the terminal, it worked.
// repository documentation
Was this content helpful?
(0 ratings)
