Where do you maintain your website development environment, on your workstation or server?

For several years I have been using my workstation as a development environment. I think most web developers use their workstation to run their Apache, Tomcat, Mongrel, etc. servers. I work for a company that has a Unix development server in another city, and the folder with the root folders is shared with samba. I still work on my Windows PC because using an IDE such as Eclipse PDT and RubyMine requires quick access to the file system, and because I want to try something on my own without worrying about support tickets and things like that. I prefer to run my tools, it is easy to install / uninstall software.

The main problem is that I am forced to use Windows and I cannot work in simialr environment for Unix. For example, in production we have Passenger, in Windows Passenger cannot be used, and since I have a common environment, PHP / Rails, in development I have Rails URLs with http: // localhost: 3000 / and for PHP it's just http : // localhost , in production I have http://domain.com/apps for Rails and http://domain.com/

So, do you run your development server on your workstation or on a remote server?

I would like to receive confirmation that my practice is most in demand. Thank you

+3
source share
9 answers

VM on my workstation (which has the advantage that it goes wherever my workstation goes, and I don’t need to worry about bandwidth when I'm on a remote site)

+4
source

I develop my workstation and then usually publish it on an intermediate server that simulates a live server for testing before publishing on a real site. If there is no intermediate server, this step is omitted.

I am working on Linux, so I have no problem, as my servers are a mixture of RedHat, Centos and Ubuntu.

You can create a virtual machine on your computer, for example. with VMWare VirtualBox, which simulates your remote server. This way you will have local development other than Windows.

+2

, , . , , - , .

- Linux ( , ), : Linux -?

+1

Windows Apache. , (FreeBSD, Apache) , , , (Debian, Apache).

, ( , MySQL), .

, , , , PHP . .

+1

: .

TBH , , dev.

, :

  • .
  • .

BTW , , , , ...

+1

. -, , .

git push svn checkout , , , .

, .

+1

, , , (Subversion, Git, SMB, FTP,...)

(Debian/apache), Windows (samba) (pre) FTP. , , , . , FTP-.

apache windows (wampserver) SVN . , , .

php/mysql : - - unix-way, Linux- (C:/dir/file.php C:\dir\file.php) - mysql , , . - / Apache PHP, Windows

, ​​Macs ou linux, .

, , ​​Linux Apache .

0

SVN. , . , . , . .

0

. , Visual Studio .

When I get to a state in which I feel comfortable, I publish on the beta server, then if we like it in testing, it pushes live.

Ken

0
source

Source: https://habr.com/ru/post/1733501/


All Articles