TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Stop Coding on Pigs

2 点作者 francesca超过 10 年前

1 comment

nstart超过 10 年前
Neat idea? Question though. My work process for every project is to have a vagrant file, and a docker container. The vagrant file has almost the exact same shell script that I use when setting up a production environment. (There are a few extra security scripts I run that I don&#x27;t need to run on my virtual box).<p>So when spinning up an instance of the project I need on a new machine, I go through the following steps:<p>1) Install Orcale VM Virtual Box<p>2) Install Vagrant<p>3) Install cygwin and necessary libraries<p>4) Install git<p>---- Up till this point, everything I need can be carried on a pen drive and be done in under 15 minutes. I could probably automate it further but there&#x27;s really no need to ---<p>5) Clone git project<p>6) Run vagrant up<p>And that&#x27;s it... That really is it. I now have a production environment that stays synced. The vagrantfile almost never ever changes. The docker container does change, and then it&#x27;s a simple pull. Guaranteed, bower probably syncs stuff with 1 less step but I&#x27;m still not convinced that it&#x27;s a major leap ahead in managing the problem of dev&#x2F;prod environments.<p>This really isn&#x27;t intended as a negative comment. It&#x27;s more a question of, how does bowery compare to my current work process.<p>Also, I&#x27;m a super basic in this area still. An experienced systems person who would actually be in charge of this stuff in a big company would probably have a much more efficient way of getting a new hire on board (a script to automate all the above for example).