Googlecode is a free platform to host your Open Source Projects and Files.There are many websites in the world of internet which allows you to host your HTML files or pages for free,but you must choose googlecode subversion over them because googlecode provides you unlimited storage(4069 MB,it is too large for your HTML,CSS,JS and other files) and unlimited bandwidth,it is the biggest problem of other sites,when you exceeds their bandwidth,you will get their message in place of your file or page,it is so irritating and annoying thing for our readers.If you want to know more about Google Code then read this page.Now without waiting anymore let's go to the tutorial.
For easy understandings this tutorial is dividing in three parts and they are as below,
- Creating a new project at googlecode
- Downloading and Configuring the SVN client
- Uploading files using your SVN client.
Part 1 : Creating A New Project At Googlecode
Before starting you must login to your googlecode account,if you have not created till then go to code.google.com and register/login with your google account.After login follow below steps to create a new project.
- Go to Googlecode Project Hosting and click on Create a new project,Now you will redirect to the create new project page.
- Fill the below fields like I have filled un below image and make sure that you have selected "Subversion" as Version Control system.
Once you click on Create Project button you will redirect to the another page.Now click on Source tab.
On this page you will find a URL like below,copy that URL and paste it into your notepad.
1
| https://helperforblogger.googlecode.com/svn/trunk/ helperforblogger
Now click on googlecode.com password link,copy your password and paste it into notepad.
Part 2 : Downloading And Configuring SVN Client
We will upload files using Subversion client.We will use TortoiseSVN as our subversion
client.Folloe below simple steps to upload files using subversion client.
Click On Edit Button
[miscellany]
enable-auto-props = yes
[auto-props]
rmats
*.bat
o= svn:eol-style=native; svn:keywords=Id; svn-mine-type=text/plain
*.bsh = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/x-beanshell
*.cgi = svn:eol-style=native; svn:keywords=Id; svn-mine-type=text/plain
*.js = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/javas
*.cmd = svn:eol-style=native; svn:keywords=Id; svn-mine-type=text/plain
cript
hp
*.pl = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/x-perl; svn
p:executable *.pm = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/x-perl
able
*.sh = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/x-sh; svn:executabl
te # Image formats *.bmp = svn:mime-type=image/bmp *.gif = svn:mime-type=image/gif *.ico = svn:mime-type=image/ico *.jpeg = svn:mime-type=image/jpeg
pdf = svn:mime-type=application/
*.jpg = svn:mime-type=image/jpeg
*.png = svn:mime-type=image/png
*.tif = svn:mime-type=image/tiff
*.tiff = svn:mime-type=image/tiff
# Data formats
*.pdf *.avi = svn:mime-type=video/avi *.doc = svn:mime-type=application/msword *.eps = svn:mime-type=application/postscript *.gz = svn:mime-type=application/gzip
cript
*.psd = svn:mime-type=applicati
son/photoshop *.rtf = svn:mime-type=text/rtf *.swf = svn:mime-type=application/x-shockwave-flash *.tgz = svn:mime-type=application/gzip *.wav = svn:mime-type=audio/wav
td = svn:mime-type=text/xml
*.html = svn
d:mime-type=text/html *.ini = svn:mime-type=text/plain *.sql = svn:mime-type=text/x-sql *.txt = svn:mime-type=text/plain *.xhtml = svn:mime-type=text/xhtml+xml *.xml = svn:mime-type=text/xml
t/plain
COPYING = svn:mime-type=
xtext/plain INSTALL = svn:mime-type=text/plain Makefile* = svn:mime-type=text/plain README = svn:mime-type=text/plain TODO = svn:mime-type=text/plain # Code formats
ative; svn:keywords=Id; svn:mime-type=text/plain
*.java = svn:eol-style=
nnative; svn:keywords=Id; svn:mime-type=text/plain *.as = svn:eol-style=native; svn:keywords=Id; svn:mime-type=text/plain n Now we have successfully configured TortoiseSVN,now lets see hoe to upload the files using this client. Part 3 :Uploading The Files Using SVN Client
Open the folder containing your files.Right click anywhere in folder and navigate to
TortoiseSVN > Repo-browser.
A small window will open.Here you have to put the URL which we have noted down in first
part,Enter the URL and hit Ok button.
All Done ! That is all about hosting files to Googlecode using Subversion, hopes this tutorial
helped you.By using this method you can host your css,js,html and other files for your
blogger blog.
|
0 comments:
Post a Comment