I have successfully installed mercurial on media temple grid server. But I can not find any information about setting up a mercurial server on grid so I can push/pull multiple repositories on my grid server.
How can I setup a mercurial server with multiple repositories on media temple grid server?
Thanks.
You can setup Mercurial on all hosts using the instructions in the wiki. The hgweb.cgi script allows you to push and pull to multiple repositories. You can see it in action at https://www.mercurial-scm.org/repo/hg.
Related
When developing an OpenShift cartridge, what is the standard way to handle large binaries that it will need? Let's say a 100 MB file. Searching around the web I saw a couple cartridges that had their required binaries in the git repository, but I thought that was generally considered to be a bad idea from a git perspective.
You can either add it to your repo as you mentioned or host the file elsewhere and wget it part of your install scripts.
I have the impression that hg server is rather slow on our Windows Server... Are there better ways to publish mercurial repositories?
A list that compares the possibilities for publishing repositories can be found here.
I'd recommend hgweb, which is probably the most flexible solution also on Windows. You can use it with Apache or IIS.
I'm setting up a development server with JIRA as issue tracker and mercurial as SCM.
Is it possible to relate commits with the JIRA's issues (without using fisheye or any commercial tool)?
Yes, the JIRA Mercurial plugin does this, just like the JIRA Subversion plugin does for Subversion. It needs an update for 4.3 though, I must get around to that.
I have a team for 4 developers starting a new project.
We have win7 & win 2008 network.
What I want to do is each developer to have his local repo on his disk.
When he is done with his job, push his commits to the server repo, so that other developers gets the changes locally.
When there is release done, I would push the final commits and complete release ready from my server to client server which already setup with mercurial.
How to setup such environment with mercurial?
Do I need to share the folder on my server to the four developers?
http://blog.m1key.me/2010/11/mercurial-server-on-windows-with-apache.html
After some Google search. I got the right place where the answer was.
Have tried this and it works!
Thanks to Michał Huniewicz.
Extended title: How to setup a box with (Windows7 + Apache + VisualSVN + MySQL + PHP) and 3 machines with (MacOs/Windows7) and Dreamweaver CS5 as a web development environment for a small team
These are my thoughts. Please forgive my ignorance, I still don´t have completly clear all the concepts.
1. I need to setup a web development environment for a small team of 3 web developers. The staging and live environments will be in a remote server under an external hosting company (probably Amazon).
2. Our first project is a blog with Wordpress
3. I've installed XAMPP in the box and can be accessed like this (http://dev.company.com/xampp)
4. I've installed Wordpress and can be accessed like this (http://dev.company.com/blog)
5. I've installed VisualSVN in the box and can be accessed like this (http://dev.company.com:8080/svn)
6. I don´t know how to import files for the first time to my repositories in the box (c:/repositories/blog)
7. VisualSVN includes Apache. I don´t know if I should turn off the Apache of XAMPP or if should install another version of VisualSVN without Apache
8. I don't know if I should keep my repositories at C:\repositories or c:\xampp\htdocs.
9. I've read something about hooks? to copy the files from the repositories to the htdocs? Can anybody explain this process?
10. Would it be a good option to keep all the files always in the box? or it is a better option to check out the files to the machines?
11. When setting up Dreamweaver to connect to the SVN Server, do I have to point to the trunk, branch or the name of the repository? Do I have to setup a different connection for each branch?
12. How can we include images and PSD's in the repositories?
When we start a new project we usually just checkout files on clients and commit the changes to the server when finished editing. This way people can just edit files on their own machine (without other users slowing stuff down).
Can't you just do a Linux install for the webserver (CentOS or something like that?). Windows 7 seems so heavy / unfitted for webdevelopment server.
We usually keep the repo out of the webroot.
XAMPP really???
Just my two cents...
It's strongly not recommended to use Apache HTTP server bundled to VisualSVN Server for anything else than Subversion server. So you have to install VisualSVN Server and XAMPP.
Just keep repositories in C:\Repositories. If you move them to htdocs all repository will be accessed for everyone who have access to XAMPP.
Common practice is to checkout working copy to htdocs folder, configure permissions to deny access to .svn and then run svn update in post-commit hook in VisualSVN Server.