Skip to content

Instantly share code, notes, and snippets.

View romanenko's full-sized avatar

Michael Romanenko romanenko

View GitHub Profile
@romanenko
romanenko / gist:d2f9bc895ead9870f666fe7e9a67b47e
Last active October 7, 2017 21:22 — forked from kurtzilla/gist:c134c74142ce59d0bdf2d90db7321dcb
Deploy react-universally to Heroku from start to finish
fork/clone master branch: [email protected]:ctrlplusb/react-universally.git
cd [your-repo]
yarn install
edit config/index.js
change line 23:
port: getIntEnvVar('SERVER_PORT', 1337),
to:
@romanenko
romanenko / patch.sh
Last active December 12, 2015 07:54 — forked from patrickheeney/patch.sh
Babel6 Patch
//Use within same directory as node_modules
mv node_modules/babel-runtime node_modules/babel-runtime-bak
git clone [email protected]:loganfsmyth/babel.git node_modules/babel-patch
cd node_modules/babel-patch
git checkout runtime-typeof-error-T6644
npm install
make
make build-dist
cd ../../
cp -r node_modules/babel-patch/packages/babel-runtime node_modules/babel-runtime