This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir snapshot-env | |
virtualenv snapshot-env/ | |
cd snapshot-env/ | |
source bin/activate | |
pip install nodeenv | |
nodeenv --node=4.2.6 --prebuilt node/ | |
deactivate | |
git clone https://github.com/prerender/prerender.git | |
source node/bin/activate | |
cd prerender | |
wget https://gist.githubusercontent.com/amergin/37385f63db7b7a5a79257a7ed8ae3d12/raw/cb7fe030fd7a6c1ff8757b0e1bb5c66ed78cd5cc/demoserver.js -O demoserver.js | |
npm install | |
wget https://gist.githubusercontent.com/amergin/b652b4ac0fe41b85cc0b41488a814fd6/raw/a0224a2a4e0135d7d11c108bdccd1e745ec72b76/.env -O .env | |
source .env | |
node demoserver.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment