In the past I've done the coding-part of my web-projects mostly by myself. Now, as we are a team working on some project, be it python or php or ..., is there some simple versioning system to use?
My hoster doesn't seem to support any kind of this sort. On the other hand, I feel it is too early to start renting a whole server in this phase of the project just to be able to install a versioning system.
Any simple ideas how to solve this problem?
Try Mercurial. If your hosting has ssh and python support, you can run Mercurial on it.
UPDATE: By the way, you don't need a hosting to run Mercurial - it's distributed and works without any servers. If you still want to have a repository on your hosting server - you can have it if your hoster supports ssh and python
UPDATE: http://bitbucket.org - fantastic mercurial hosting, allows 1 private repository and unlimited public repositories for free
See:
https://stackoverflow.com/questions/59791/free-online-private-svn-repositories
https://stackoverflow.com/questions/146505/can-someone-recommend-a-reliable-cvs-or-svn-hosting-service
https://stackoverflow.com/questions/111292/free-version-control-services
http://github.com
Anonymous Sourcecode Hosting, Repository...
Github and the others are free for open source projects only.
However, Xp-dev is free as in free beer even to commercial ones. http://www.xp-dev.com/
Related
Want to work with 4-5 devs over internet on PHP projects.
Question: Is there any with/without central server version control system that will work with Netbeans IDE, Windows 7 and IIS?
Please: don't suggest any third-party servers like bitbucket or git-hub. I don't want to use any paid server or free ones with limited posibilities.
I want to set-up my own server. That's why asking to community
Thanks in advance.
System specs:
Currently My OS is: Windows 7 Ultimate X64 and IDE is Netbeans 7.1.
I personally prefer git. Since I work from a laptop, it allows me to have my own versions, while still reaping the benefits of a centralized repository.
The Windows part was answered in this question.
This should be the thing you're looking for, since git integrates in netbeans 7.1 REALLY well, and is easy to use and master.
cvs and svn are both easy to setup on a server and they have clients for all the platforms mentioned.
We are successfully using gitosis. gitolight might also be an option for small teams but I have not used it. An other option is to set up gitourious, but this might be overkill for you.
Said all that most of this systems are desigend to work on Linux. We are actually running gitosis on a Synology NAS, with 2 developers and about 30 projects.
This post might be interesting for you: Gitosis alternative?
You can use an ssh account and create a github repo that is shared among the members of the team. The limitations are negligible with this approach since you can setup a server yourself.
Take a look at http://www.mindfuzz.net/?p=250 for ideas.
Ok, I decided to make this an answer after all.
VisualSVN is an easy-to-use-and-setup SVN server. Simply download the free version from http://visualsvn.com/server/download and install. Then refer to http://www.visualsvn.com/server/getting-started/ for a few tips to get you started.
You need to make sure that NetBeans supports SVN. This link states it does.
If you want to run your own server, you have many options. I personally like git, and it is quite easy to set up your own server. Check out this chapter of Progit: http://progit.org/book/ch4-0.html
It talks about your options for setting up a git server and has step by step instructions.
Me and two friends want to build something in common in PHP, probably all of us are going to use eclipse for that, but some use Ubuntu and some use Windows.
Is there any convince and good why to share the code and develop together freely? Thanks!
And we don't want our project to be open source in this case :(
You can probably use a Subversion (SVN) or Git repository. These are tools that enable several developers to work on the same project at the same time, managing conflicts and versions of the code.
For free solutions, please see:
https://stackoverflow.com/questions/59791/free-online-private-svn-repositories
https://stackoverflow.com/questions/2378120/is-there-a-free-private-git-repository
How to install Subversive, a free Subversion client for eclipse: http://www.eclipse.org/subversive/documentation/gettingStarted/aboutSubversive/install.php
Depending on your platform, i would recommend following:
SVN Provider:
SpringLoops (Ref. Link)
I've been with them for 2.5 years now, blazing fast support. It has some rock-solid features like auto remote deployment so if you commit it instantly deploys to the remote server so you have the actual version running on the FTP too.
As far as i can tell you, KEEP AWAY from BeanStalk as provider, they are copying SpringLoops and have roughly the same features but theirs work very very slow. There are waiting times for remote deploy of 120 seconds in average.
Mac OS X:
I've extensively used Versionsapp from Sofa but in the last 2 years it did not receive any (major) update at all so i purchased CornerStone and it's working very very good. You can keep track of anything that happens to the repository.
Windows:
If you are using windows, i would work with tortoisesvn which works with the windows Shell so you give the commands via the shell menu. It's easy to use and is developed since a very long time.
If you have any questions write a comment and I'll update my answer :)
I think bitbucket is a great solution for sharing a small project with your friends and make it privately for free.
https://bitbucket.org/
I'm planning to build a CMS in PHP and MySQL, mainly for my own amusement and education. (Though who knows, I may come up with something useful and cool. Anything's possible.) I'll be asking questions about code architecture etc. later. For now, I'm more interested in development tools.
So far, all my playing with code has been done on a web server, and I've edited over FTP. I was thinking it might be quicker to use a localhost. Also, that way, I could use version control (which I've never done before).
So,
A. How do I set up a localhost server with many subdomains on an Ubuntu 9.10 computer. Is XAMPP for Linux the way to go, or should I use a standard Apache distro? (Or another webserver altogether?) For that matter, is it possible to set up more than one webserver on the same computer, and to use them for different localhost subdomains?
B. How do I set up a version control thingy covering all the code (which will be on several subdomains of localhost, and in a few shared folders)? I've read Joel Spolsky's HgInt tutorial, and it makes Mercurial look good. And simple, especially if you're working on your own.
C. Should I continue to use gEdit to write HTML/CSS/JS/PHP, or is there a better free editor out there for these languages?
A. Why would you use XAMPP when installing a LAMP stack is as easy as sudo tasksel install lamp-server? You can add as many domains to the configuration as you want using VirtualHosts for example (well theoretically anyway, in practice the amount will be limited by the available resources), you don't need multiple servers for that.
B. sudo apt-get install mercurial maybe? Of course, how to create a repository and add your projects is up to you - you should read the documentation of Mercurial.
C. Use Eclipse or NetBeans if you're planning to do any serious development work.
I'd recommend against using XAMPP, particularly if you're inexperienced as this would bypass all the package management functionality integrated in Ubuntu (so you need to manually track and apply security changes, if you need extensions not in the XAMPP distro you'll need to compile from scratch, similar for most of the external admin tools which might interact with the Apache install).
Yes - you can have lots of virtual hosts on the same webserver (rcently worked somewhere with 1200 named virtual hosts on each Apache webserver - start up took about 2 seconds rather than 0.5 - but after that you'd never have known the config files were HUGE).
If you're working on your own, then this is about the only scenario where using a distributed version control system offers no benefits over concurrent version control system, and a concurrent version control system offers no benefit over a conventional version control system. But even though it offers no advantage in the technology, it may be of benefit to you to acquire specific product skills.
What editor you use is matter of personal choice. Though personally I would list gEdit in my recommendations (I'd suggest NetBeans or Zend Studio for people who like standalone IDEs, otherwise vim, Eclipse, emacs).
A php documentor is (IMHO) a must (I like phpxref) along with some sort of testing toolkit.
HTH
C.
A: I've used Xampp for Linux successfully on Ubuntu. It's not hard to setup a normal apache installation, but I like the advantage of having a "temporary" web server where the changes are easy to reverse without affecting my normal installation.
If you want subdomains, configure apache to use virtualhosts.
B: I suggest subversion, but VCS is something of a religious issue. It doesn't matter what you use particularly. Once you've made a choice, then research the usage of a VCS.
C: Netbeans is much better than gEdit. That or Eclipse would be my preference. I use Netbeans under Ubuntu myself. A full IDE though will make development much easier than a text editor. Mostly because of code completion/integrated debugger.
I think stackoverflow.com is for programming questions. You'd want to ask those server questions on serverfault.com. Then again, they'd probably ask you to google it. Give it a try.
The editor question is cool. I use Kate, just because it comes with KDE and has syntax coloring.
I there a PHP based source control 'server' that is compatible with SVN clients?
I'd like to host my SVN on my hosting servers, however the current host will not allow me to start any process or install any software
You could try:
http://sourceforge.net/projects/deltaweb
You can have a PHP front end but you will still need to have the SVN server running somewhere.
Not that I know of.
You can look at services like CVSDude.org which provide great SVN hosting that's pretty affordable. They basically specialize in both CVS, and now SVN hosting.
The only PHP-based SVN project I'm aware of is this package that allows PHP to utilize some of the SVN bindings: http://pecl.php.net/package/svn.
As the other answers here have indicated, I don't think you are going to find what you want. A PHP-based SVN server does not appear to exist.
I would suggest finding a different hosting provider for your repositories.
If you want a hosted svn repository and you don't mind using and trusting a 3rd party, try beanstalk, they have a free account and a number of fairly reasonable paid options, considering the management overhead you won't need with them.
I'm fairly new to the world of versioning but would like to introduce Subversion into our small development team as we're finding that more and more we are working on the same projects/files. We primarily code in PHP on a LAMP environment (Red Hat Enterprise).
What I'm looking for are some starting points to get me up and running such as installation/configuration guides for Red Hat. I use Dreamweaver CS3 (I see that Subversion functions will be introduced in CS4) so would be willing to look at other PHP IDEs with Subversion integration, do you have any preferences? I'm open to suggestions.
It depends on what version of RHEL you are running. Setting up Subversion in general is very easy you just have to install the binaries and run svnserve or adapt the Apache configuration.
Get it: http://subversion.tigris.org/getting.html
Install it
svnadmin create --fs-type=fsfs
After that you have a repository which you can serve via apache or svnserve. I can recommend Apache because it scales better, is easier to maintain and allows you to access the repository via DAV.
Example configurations are here: http://svnbook.red-bean.com/en/1.0/ch06s04.html
Installing subversion is likely not going to be the hardest part, what's going to be the difficult part is how you access the repository. There's a variety of options (file share on the network, subversion over SSH, through an http connection). Each has their own pro's and con's. How are you currently developing? If you are all using the same webroot for instance, version control is not going to help, as you'd still be changing each others files, so you'll have to create separate sites for each developer.
As for the IDE, there's a great shell integration for Windows in the form of TortoiseSVN, which would still allow you to work with your favourite tools and still have easy access to the SVN features.
On a RHEL system, the easiest way to install subversion is by using yum:
yum install subversion
These are good for Linux + Subversion:
http://articles.slicehost.com/subversion
Plus it goes into multiple repositories, WebDAV and a lot of other things. Useful for Windows devs too as most of the info can be used in Windows too.