Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/palkan/heroku-static-test
https://github.com/palkan/heroku-static-test
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/palkan/heroku-static-test
- Owner: palkan
- Created: 2017-06-02T09:33:49.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-02T13:02:53.000Z (over 7 years ago)
- Last Synced: 2024-10-19T12:59:49.969Z (25 days ago)
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
## Instructions
```sh
# Clone buildpack to the project root
git clone https://github.com/evilmartians/heroku-buildpack-static# Build docker image
docker build --tag herstatic:latest .# Run image
docker run -t -i -p 8081:5000 --name hstatic --rm herstatic# Visit website
open http://localhost:8081# Connect to the running container
docker exec -it hstatic bash
```### Benchmarking
To run benchmarks you have to install [wrk](https://github.com/wg/wrk).
And then run:
```sh
wrk -t4 -c100 -d1h -s script.lua http://localhost:8081
```