Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Script for pinging the site, either for simulating traffic or for monitoring

License

NotificationsYou must be signed in to change notification settings

studentinsights/studentinsights-pinger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local setup

Install Docker and Compose.

$ docker-compose build pinger$ docker-compose run pinger

You'll see an error about environment variables not being set. These are credentials to the production site, so you need to talk to someone to get them. Pass each variable todocker-compose with-e like this:

$ docker-compose run -e FOO=bar -e SECRET=blah pinger

Heroku setup

This useshttps://github.com/stomita/heroku-buildpack-phantomjs to provide the PhantomJS binary.

There's a task scheduled to run at regular intervals. If you'd like to run more, you can spin up worker dynos. They'll run through the script, finish, and then restart the script indefinitely. You can spin up as many as you like (keeping in mind this will add load to the production site), although this is intended more for simulating low levels of constant requests and for monitoring, rather than for load testing per se.

About

Script for pinging the site, either for simulating traffic or for monitoring

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp