- get your access_token at Personal access tokens
- set env variable
ACCESS_TOKEN
andDOMAIN
atbuild-environment-variables
(note:domain is your netlify site link) - set your webhook at
build-hooks
, then copy the link.(note: when a submit is trigger, a rebuild will happen) - set you form notify choose
outgoing-notifications
then paste your webhook url
although netlify was only for static sites ,but with forms and webhook it can be dynamic. there is a litter trick:when a form is submit,netify will visit a outgoing url,we set then outgoing url with is's buid hook! wow!
- visit `{your netlify link }/sub
- submit the subscribe form
- wait a few minute (rebuild..)
- update dependence use composer
composer install
- set up your env variable
ACCESS_TOKEN
andDOMAIN
at .env files - start php buildin server
php -S 127.0.0.1
- add node : visit
{your domain link }/add?node={your ssr link}
- add subscribe : visit
{your domain link }/sub?link={your sub link}