New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploying/Build process #174

dbabaioff opened this Issue Aug 7, 2016 · 1 comment


None yet
2 participants

dbabaioff commented Aug 7, 2016

Hi Kent,
On our company we have a very big js application and currently we are using (for build/minify) babel for es6, uglify, less, htmlminifier, cleancss.
For the build system we are using a very old php script we wrote - this script is responsible for concatenating/es6/minifing/cleaning all the files - but we thinking to replace with something like gulp or webpack - to give us more flexibility and easy to maintain.
Today we have some problems/ and questions connected to the build process:
1 - We have a dev, staging and the live servers - based on your experience, where is the recommend place to build?
Let's say I'm pushing a specific git branch from the dev server to the staging server - should we run the build script on dev and deplay the final result to the staging server?
2 - Sometimes one of the minifiers fails - for example the htmlminifier with you have something like this: <a href="javascript:"">link</a> - with an extra quotes it's breaks - and we run this minifiers before pushing to the staging/production server - then we waste a lot of time trying to figure out what broke - should we use a CI for trying to build the assets on every commit or run periodically on different git branches?
3 - A see a lot of people saying maybe to use a separate server for building the files - how this help to make the build process better? and what's should be the flow dev --> build server --> staging/production

Can you share you experiences? what did you use on your last job and what you use today on paypal? Did you use a separate build server? What was the flow to deploy/build files?


This comment has been minimized.


kentcdodds commented Aug 23, 2016

Hi @dbabaioff,
Great questions! It was easiest for me to answer verbally, so here you go!

@kentcdodds kentcdodds closed this Aug 23, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment