This revision made November 07, 2012 19:15, by nvause
« earlier revision revert to this « later revision

» Project Kenai Documentation and Training     » How Do I ...

Working With Your Project's Website

As described at Managing a Project: Website, after you enable your own web site for a project on Project Kenai, you can use either a SCM Website Hook to update website site content or use a WebDAV client to upload the files to https://website.kenai.com/website/your-project-name.

Some operating systems have WebDAV built in, and some require that you install a WebDAV client.

  • The OSX Finder's WebDAV works well on Apple Macintosh OSX machines.
  • The WebDAV client for the File Explorer in Microsoft Windows XP does not work well, so you'll need to install a WebDAV client, as described below.
  • Linux OS's have various ways of supporting WebDAV, for example, through KDE and Gnome, with the Cadaver client, or with Konqueror.
  • Linux OS's can also use the davfs2 file system instead of WebDAV clients.
  • Another client to consider is sitecopy, which has binary packages for several versions of Linux, UNIX, OS/2, and Macintosh OSX. It's useful if you want to maintain the website on a local machine and send file updates to the web. See Should I Use Sitecopy? for more information on choosing it.

For a list of WebDAV clients, see http://www.webdav.org/projects/.

Before installing a separate client, try using your operating system's WebDAV to see if it works.


Using Finder with Macintosh OSX

Note: Before you can use WebDAV with your project's web site, you must first enable the web site as described at Managing a Project: Website. You can also use sitecopy on a Macintosh system, as described below at Setting Up and Using Sitecopy.

On Macintosh OSX systems, you can use the Finder to connect to a WebDAV server. Here's how you do that:

  1. In the Finder, choose Go > Connect to Server.
  2. In the Server Address field, enter https://website.kenai.com/website/your-project-name/.
  3. If you want to add the server permanently, click the + button.
  4. To connect to the server, click Connect.
  5. When prompted for authentication, enter your Kenai username and password.
  6. Use either drag and drop or the command line to copy files to the Kenai directory.
    • Drag and Drop: Drag local files or directories to the remote website directory
    • Command Line: Copy files or subdirectories from your local machine to the website directory. For example:
      cp local_files /Volumes/project_name.

Using WebDAV With a Linux System

Note: Before you can use WebDAV with your project's web site, you must first enable the web site as described at Managing a Project: Website.

At present, our Linux documentation covers Kubuntu 9.04 with the KDE 4 desktop, using the davfs2 file system, and using sitecopy. We plan to add documentation for more Linux systems as we get more information on them. Some addtional options reported to be available are direct support through Gnome and support through the Cadaver client.

If you use a Linux system to work with your website on Project Kenai, you could help us out by sending instructions to users@help.kenai.com.

Using Kubuntu 9.04 With the KDE Desktop

These instructions, supplied by a Project Kenai member, are for Kubuntu 9.04 with the KDE 4 desktop.

In KDE 4, you can use the KDE default file explorer, Dolphin, to access the website with WebDAV. With KDE 3.5, you can use Konqueror for WebDAV access.

To use Dolphin for WebDAV access:

  1. Start Dolphin and enter the following URL in the address bar:
    webdavs://website.kenai.com/website/your-project-name/
  2. You see your website in Dolphin. The first time you create or modify something, you will be asked for a username and password. Use your Project Kenai username and password.
  3. You can work in Dolphin the same way as on a local drive. You can create folders and files, upload and copy files with drag and drop, overwrite files, and so on.

Note: Trying to delete a folder can return Error Code 301. This might be due to the following KDE bug: KDE [Bug 187970]: "Dolphin webdav avoids to remove folders in mydisk.se with code 301."

Using the davfs2 File System

As described at http://savannah.nongnu.org/projects/davfs2, davfs2 enables you to access WebDAV resources as though they were a typical filesystem, which means that standard applications that have no built-in support for WebDAV can use these resources.

To use davfs2:

  1. Install davfs2 on your machine.

  2. Mount your website directory. For example,

    sudo mount -t davfs https://website.kenai.com/website/project_name /where_to_mount

    Note: Write access to the mounted directory requires that you use sudo.

  3. After finishing your work, just umount the directory. All changes should be synchronized and updated. If the data is not synchronized, use the sync command before you unmount.

Setting Up and Using sitecopy

The downloads area at http://www.manyfish.co.uk/sitecopy has binary packages for several versions of Linux as well as UNIX, OS/2, and Macintosh OSX. You might want to use it instead of a WebDAV client if you maintain your web site on a local machine and want to use something similar to FTP to work with your kenai.com web site.

Setting Up sitecopy

  1. Make sure you have enabled the Website feature for your project on kenai.com, as described at Managing a Project: Website.
  2. Download and install sitecopy from http://www.manyfish.co.uk/sitecopy/.
    Note: For Macintosh OSX, download sitecopy at http://pdb.finkproject.org/pdb/package.php/sitecopyuse and use Fink to install it.
  3. Create a directory named .sitecopy in your user_dir and give it 0700 permissions. For example:
      cd /home/myusername
      mkdir .sitecopy
      chmod 0700 .sitecopy
  4. Create a file named .sitecopyrc in your user_dir directory and give it 0600 permissions.
  5. Edit .sitecopyrc and enter the following settings:
    site site-name
    server website.kenai.com
    remote /website/project-name
    local path-to-local-directory
    http secure
    protocol webdav
    port 443
    username kenai-username
    password kenai-password

Notes:

  • site-name is just a name you use to distinguish this site's settings from other site settings in the .sitecopyrc file. You use it in the sitecopy -f command to initiate a transfer of files for this site to the corresponding website on kenai.com.
  • remote requires a slash (/) before the first directory name. For example, for the Bluebird project, whose project home page URL is http://website.kenai.com/projects/bluebird, you would enter /website/bluebird.
  • local is the path to the directory on your local file system where you maintain the website files.

Using Sitecopy

The first time you use sitecopy, you need to initialize the site:

  $sitecopy -i site-name

Here's a typical series of steps for using Sitecopy.

  1. Perform a fetch:
     $sitecopy -f site-name

  2. Synchronize your local repository with your remote repository:
     $sitecopy -s site-name

    Note: There is a bug with sitecopy synchronization that requires you to synchronize as many times as you have subdirectories. For more information, see http://lists.manyfish.co.uk/pipermail/sitecopy/2009-June/000140.html.

  3. Make changes in your local repository.

  4. Update the remote repository with changes from your local repository:
     $sitecopy -u site-name

You can get a list of all available sitecopy commands by entering

    sitecopy --help

Using BitKinex with Microsoft Windows XP and Vista

Note: Before you can use WebDAV with your project's web site, you must first enable the web site as described at Managing a Project: Website.

A free WebDAV client, BitKinex, is available for Microsoft Windows XP and Vista. You can download it from http://www.bitkinex.com.

Setting Up BitKinex for Your Project

  1. After installing BitKinex, click its icon to run it.
  2. Select the Http/WebDAV node.

  3. Choose Data Source > New > Http/WebDAV.

  4. Enter a name for the new data source and right click it and choose properties .

  5. Make sure Server is selected in the tree on the left.

  6. For Server address, enter website.kenai.com.
  7. For Security, choose SSL.
  8. Enter your Project Kenai username and password.
  9. Click Site Map under the Server node on the left.

  10. Double-click the / entry under Path and change it to /website/your-project-name/.
    For example, for the Bluebird project, whose project home page URL is http://website.kenai.com/projects/bluebird, you would enter /website/bluebird/.
  11. Make sure that The location specifies: is set to Directory (WebDAV-compliant).
  12. Click Update.
  13. Click OK at the bottom of the dialog.

BitKinex should now be set up to work with your project's web site location on Project Kenai.

Using BitKinex With Your Project's Website Directory

After setting up BitKinex to work with your project on Project Kenai, you have a node for your project under the Http/WebDAV node when BitKinex first opens. Basically, you click that node, establish a connection, and transfer files to kenai.com. You can also delete files on kenai.com with BitKinex, and you can replace files by uploading new versions.

To use BitKinex with your project's Website directory:

  1. Double-dlick the node for your project under the Http/WebDAV node.

  2. You see the connection window open.

  3. To populate your kenai.com web site, click and drag files from your local machine on the right to the server directory on the left.
  4. You can work directly with files and directories on the server. For example, if you right-click a server directory, you see a menu with choices like New > Directory or File.

  5. BitKinex comes with a set of help files for when you get stuck. Most of the operations are similar to using a file browser on Windows.

Difference compared to previous revision
<span>[[Home| &raquo; <span style="text-decoration:line-through;color:red">N</span><span style="text-decoration:underline;color:green">Proj</span>e<span style="text-decoration:underline;color:green">c</span>et<span style="text-decoration:line-through;color:red">b</span>t<span style="text-decoration:underline;color:green"> K</span>e<span style="text-decoration:underline;color:green">n</span>a<span style="text-decoration:underline;color:green">i Docume</span>ean<span style="text-decoration:line-through;color:red">s.</span>n<span style="text-decoration:underline;color:green">tati</span>o<span style="text-decoration:underline;color:green">n and T</span>r<span style="text-decoration:underline;color:green">ainin</span>g<span style="text-decoration:underline;color:green">]]</span>org <span style="text-decoration:line-through;color:red">Site</span> <span style="text-decoration:line-through;color:red">Tool</span> <span style="text-decoration:underline;color:green">&nb</span>s<span style="text-decoration:line-through;color:red"> Hel</span>sp<span style="text-decoration:underline;color:green">;</span>p <span style="text-decoration:line-through;color:red">-</span> <span style="text-decoration:underline;color:green">&nbsp; [[</span> Ho<span style="text-decoration:line-through;color:red">me</span>Ho<span style="text-decoration:underline;color:green">wdoi|</span> <span style="text-decoration:line-through;color:red">P</span><span style="text-decoration:underline;color:green">&r</span>a<span style="text-decoration:line-through;color:red">ge</span><span style="text-decoration:underline;color:green">quo; How Do I ...</span>]] <span style="text-decoration:underline;color:green"> </span><h1>Working With Your Project's Website<span style="text-decoration:underline;color:green"> </span>]] <h1>Working With Your Project's Website</h1> As described at [[ManageProject#Website|Managing a Project: Website]], after you enable your own web site for a project on <span style="text-decoration:line-through;color:red">n</span></h1> As described at [[ManageProject#Website|Managing a Project: Website]], after you enable your own web site for a project on <span style="text-decoration:underline;color:green">Proj</span>e<span style="text-decoration:underline;color:green">c</span>et<span style="text-decoration:line-through;color:red">b</span>t<span style="text-decoration:underline;color:green"> K</span>e<span style="text-decoration:underline;color:green">n</span>a<span style="text-decoration:underline;color:green">i, you ca</span>n<span style="text-decoration:underline;color:green"> u</span>eans<span style="text-decoration:line-through;color:red">.o</span>s<span style="text-decoration:underline;color:green">e eithe</span>r<span style="text-decoration:line-through;color:red">g,</span> <span style="text-decoration:line-through;color:red">y</span>r <span style="text-decoration:underline;color:green">a [[SCMWebsiteH</span>o<span style="text-decoration:underline;color:green">oks|SCM Website Hook]] to </span>u<span style="text-decoration:underline;color:green">pdate</span> <span style="text-decoration:underline;color:green">website site content or </span>ou use a [http://en.wikipedia.org/wiki/WebDAV WebDAV] client to upload the files to <tt><nowiki>https://</nowiki><span style="text-decoration:line-through;color:red">n</span>use a [http://en.wikipedia.org/wiki/WebDAV WebDAV] client to upload the files to <tt><nowiki>https://</nowiki><span style="text-decoration:underline;color:green">w</span>e<span style="text-decoration:line-through;color:red">t</span>eb<span style="text-decoration:underline;color:green">sit</span>be<span style="text-decoration:line-through;color:red">a</span>e<span style="text-decoration:underline;color:green">.ke</span>n<span style="text-decoration:line-through;color:red">s</span><span style="text-decoration:underline;color:green">ai</span>.<span style="text-decoration:underline;color:green">c</span>.o<span style="text-decoration:line-through;color:red">rg</span>o<span style="text-decoration:underline;color:green">m</span>/website/''your-project-name''</tt>. Some operating systems have WebDAV built in, and some require that you install a WebDAV client. * The OSX Finder's WebDAV works well on Apple Macintosh OSX machines. ... For a list of WebDAV clients, see [http://www.webdav.org/projects/]. Before installing a separate client, try using your operating system's WebDAV to see if it works.<span style="text-decoration:underline;color:green"><br/><br/></span>/website/''your-project-name''</tt>. Some operating systems have WebDAV built in, and some require that you install a WebDAV client. * The OSX Finder's WebDAV works well on Apple Macintosh OSX machines. ... On Macintosh OSX systems, you can use the Finder to connect to a WebDAV server. Here's how you do that: # In the Finder, choose Go > Connect to Server. # In the ''Server Address'' field, enter <tt><nowiki>https://<span style="text-decoration:line-through;color:red">n</span> __TOC__ ... On Macintosh OSX systems, you can use the Finder to connect to a WebDAV server. Here's how you do that: # In the Finder, choose Go > Connect to Server. # In the ''Server Address'' field, enter <tt><nowiki>https://<span style="text-decoration:underline;color:green">w</span>e<span style="text-decoration:line-through;color:red">t</span>eb<span style="text-decoration:underline;color:green">sit</span>be<span style="text-decoration:line-through;color:red">a</span>e<span style="text-decoration:underline;color:green">.ke</span>n<span style="text-decoration:line-through;color:red">s</span><span style="text-decoration:underline;color:green">ai</span>.<span style="text-decoration:underline;color:green">c</span>.o<span style="text-decoration:line-through;color:red">rg</span>o<span style="text-decoration:underline;color:green">m</span>/website/</nowiki>''your-project-name''</tt><span style="text-decoration:underline;color:green">/</span>/website/</nowiki>''your-project-name''</tt>. # If you want to add the server permanently, click the <tt>+ </tt>button. # To connect to the server, click ''Connect''. # When prompted for authentication, enter your <span style="text-decoration:line-through;color:red">n</span>. # If you want to add the server permanently, click the <tt>+ </tt>button. # To connect to the server, click ''Connect''. # When prompted for authentication, enter your <span style="text-decoration:underline;color:green">K</span>e<span style="text-decoration:line-through;color:red">tbea</span>n<span style="text-decoration:line-through;color:red">s.org</span>en<span style="text-decoration:underline;color:green">ai</span> username and password. # Use either drag and drop or the command line to copy files to the <span style="text-decoration:line-through;color:red">n</span><span style="text-decoration:underline;color:green">K</span>e<span style="text-decoration:line-through;color:red">tbea</span>n<span style="text-decoration:line-through;color:red">s.org</span>en<span style="text-decoration:underline;color:green">ai</span> directory. #* '''Drag and Drop:''' Drag local files or directories to the remote website directory #* '''Command Line:''' Copy files or subdirectories from your local machine to the website directory. For example:<br/><tt>cp ''local_files'' /Volumes/''project_name''</tt>. ==Using WebDAV With a Linux System== <span style="text-decoration:underline;color:green">'''Note''': Before you can use WebD</span>A<span style="text-decoration:underline;color:green">V wi</span>t<span style="text-decoration:underline;color:green">h</span> <span style="text-decoration:underline;color:green">your </span>pr<span style="text-decoration:underline;color:green">oj</span>e<span style="text-decoration:underline;color:green">ct'</span>s<span style="text-decoration:underline;color:green"> w</span>e<span style="text-decoration:underline;color:green">b site, you must first e</span>n<span style="text-decoration:underline;color:green">able </span>t<span style="text-decoration:underline;color:green">he web site as described at [[ManageProject#Website|Managing a Project: Website]]. At present</span>, our Linux documentation covers Kubuntu 9.04 with the KDE 4 desktop<span style="text-decoration:underline;color:green">,</span> directory. #* '''Drag and Drop:''' Drag local files or directories to the remote website directory #* '''Command Line:''' Copy files or subdirectories from your local machine to the website directory. For example:<br/><tt>cp ''local_files'' /Volumes/''project_name''</tt>. ==Using WebDAV With a Linux System== At present, our Linux documentation covers Kubuntu 9.04 with the KDE 4 desktop <span style="text-decoration:line-through;color:red">and </span> using the [http://savannah.nongnu.org/projects/davfs2 davfs2] file system<span style="text-decoration:underline;color:green">, and using sitecopy</span>. We plan to add documentation for more Linux systems as we get more information on them. Some <span style="text-decoration:underline;color:green">addti</span>o<span style="text-decoration:underline;color:green">nal o</span>ptions reported to be available are direct support through Gnome and support through the Cadaver client. <span style="text-decoration:underline;color:green">If you use a Linux system to work with your website on Project Kenai, you could help us out by sending instructions to <a href</span>=<span style="text-decoration:underline;color:green">"mailto:users@help.kenai.com">users@help.kenai.com</a>. </span>==<span style="text-decoration:underline;color:green">=</span>using the [http://savannah.nongnu.org/projects/davfs2 davfs2] file system. We plan to add documentation for more Linux systems as we get more information on them. Some options reported to be available are direct support through Gnome and support through the Cadaver client. ===Using Kubuntu 9.04 With the KDE Desktop=== These instructions, supplied by a <span style="text-decoration:line-through;color:red">[http://kenai.com </span>Project Kenai<span style="text-decoration:line-through;color:red">]</span> member, are for Kubuntu 9.04 with the KDE 4 desktop. In KDE 4, you can use the KDE default file explorer, Dolphin, to access the website with WebDAV. With KDE 3.5, you can use Konqueror for WebDAV access. '''To use Dolphin for WebDAV access:''' # Start Dolphin and enter the following URL in the address bar:<br/><tt><nowiki>webdavs://<span style="text-decoration:line-through;color:red">n</span>Using Kubuntu 9.04 With the KDE Desktop=== These instructions, supplied by a Project Kenai member, are for Kubuntu 9.04 with the KDE 4 desktop. In KDE 4, you can use the KDE default file explorer, Dolphin, to access the website with WebDAV. With KDE 3.5, you can use Konqueror for WebDAV access. ... In KDE 4, you can use the KDE default file explorer, Dolphin, to access the website with WebDAV. With KDE 3.5, you can use Konqueror for WebDAV access. '''To use Dolphin for WebDAV access:''' # Start Dolphin and enter the following URL in the address bar:<br/><tt><nowiki>webdavs://<span style="text-decoration:underline;color:green">w</span>e<span style="text-decoration:line-through;color:red">t</span>eb<span style="text-decoration:underline;color:green">sit</span>be<span style="text-decoration:line-through;color:red">a</span>e<span style="text-decoration:underline;color:green">.ke</span>n<span style="text-decoration:line-through;color:red">s</span><span style="text-decoration:underline;color:green">ai</span>.<span style="text-decoration:underline;color:green">c</span>.o<span style="text-decoration:line-through;color:red">rg</span>o<span style="text-decoration:underline;color:green">m</span>/website/</nowiki>''your-project-name''/</tt> # You see your website in Dolphin. The first time you create or modify something, you will be asked for a username and password. Use your <span style="text-decoration:line-through;color:red">n</span><span style="text-decoration:underline;color:green">Proj</span>e<span style="text-decoration:underline;color:green">c</span>et<span style="text-decoration:line-through;color:red">b</span>t<span style="text-decoration:underline;color:green"> K</span>e<span style="text-decoration:line-through;color:red">a</span>n<span style="text-decoration:line-through;color:red">s.org</span>en<span style="text-decoration:underline;color:green">ai</span> username and password. # You can work in Dolphin the same way as on a local drive. You can create folders and files, upload and copy files with drag and drop, overwrite files, and so on. '''Note:''' Trying to delete a folder can return Error Code 301. This might be due to the following KDE bug: [https://bugs.kde.org/show_bug.cgi?id=187970 KDE <nowiki>[Bug 187970]</nowiki>: "Dolphin webdav avoids to remove folders in mydisk.se with code 301."] ... '''To use davfs2:''' # Install davfs2 on your machine.<br/><br/> # Mount your website directory. For example, <br/><br/><tt>sudo mount -t davfs <nowiki>https://<span style="text-decoration:line-through;color:red">n</span><span style="text-decoration:underline;color:green">w</span>e<span style="text-decoration:line-through;color:red">t</span>eb<span style="text-decoration:underline;color:green">sit</span>be<span style="text-decoration:line-through;color:red">a</span>e<span style="text-decoration:underline;color:green">.ke</span>n<span style="text-decoration:line-through;color:red">s</span><span style="text-decoration:underline;color:green">ai</span>.<span style="text-decoration:underline;color:green">c</span>.o<span style="text-decoration:line-through;color:red">rg</span>o<span style="text-decoration:underline;color:green">m</span>/website/project_name /where_to_mount</nowiki></tt><br/><br/>'''Note:''' Write access to the mounted directory requires that you use <tt>sudo</tt>.<br/><br/> # After finishing your work, just <tt>umount</tt> the directory. All changes should be synchronized and updated. If the data is not synchronized, use the <tt>sync</tt> command before you unmount. <span style="text-decoration:underline;color:green"> </span>/website/project_name /where_to_mount</nowiki></tt><br/><br/>'''Note:''' Write access to the mounted directory requires that you use <tt>sudo</tt>.<br/><br/> # After finishing your work, just <tt>umount</tt> the directory. All changes should be synchronized and updated. If the data is not synchronized, use the <tt>sync</tt> command before you unmount. ===Setting Up and Using <span style="text-decoration:line-through;color:red">S</span>===Setting Up and Using <span style="text-decoration:underline;color:green">s</span>itecopy=== <span style="text-decoration:underline;color:green">The downloads area at </span>itecopy=== [http://www.manyfish.co.uk/sitecopy<span style="text-decoration:line-through;color:red">/ Sitecopy</span>] has binary packages for several versions of Linux as well as UNIX, OS/2, and Macintosh OSX. You might want to use it instead of a WebDAV client if you maintain your web site on a local machine and want to use something similar to FTP to work with your kenai.com web site. <span style="text-decoration:line-through;color:red">'''To us</span>[http://www.manyfish.co.uk/sitecopy] has binary packages for several versions of Linux as well as UNIX, OS/2, and Macintosh OSX. You might want to use it instead of a WebDAV client if you maintain your web site on a local machine and want to use something similar to FTP to work with your kenai.com web site. <span style="text-decoration:underline;color:green">====S</span>e<span style="text-decoration:underline;color:green">tting</span> <span style="text-decoration:underline;color:green">Up </span>e sitecopy<span style="text-decoration:line-through;color:red">:'''</span>sitecopy<span style="text-decoration:underline;color:green">====</span> # Make sure you have enabled the Website feature for your project on kenai.com, as described at [[ManageProject#Website|Managing a Project: Website]]. # Download and install sitecopy from [http://www.manyfish.co.uk/sitecopy/].<br/>'''Note:''' For Macintosh OSX, download sitecopy at [http://pdb.finkproject.org/pdb/package.php/sitecopyuse] and use Fink to install it. # Create a directory named <tt>.sitecopy</tt> in your <tt>user_dir</tt> and give it 0700 permissions. For example:<br/><tt> &nbsp;&nbsp;cd /home/myusername</tt><br/><tt> &nbsp;&nbsp;mkdir .sitecopy</tt><br/><tt> &nbsp;&nbsp;chmod 0700 .sitecopy</tt> ... # Create a file named <tt>.sitecopyrc</tt> in your <tt>user_dir</tt> directory and give it 0600 permissions. # Edit <tt>.sitecopyrc</tt> and enter the following settings: site ''site-name'' server <span style="text-decoration:line-through;color:red">n</span><span style="text-decoration:underline;color:green">w</span>e<span style="text-decoration:line-through;color:red">t</span>eb<span style="text-decoration:underline;color:green">sit</span>be<span style="text-decoration:line-through;color:red">a</span>e<span style="text-decoration:underline;color:green">.ke</span>n<span style="text-decoration:line-through;color:red">s</span><span style="text-decoration:underline;color:green">ai</span>.<span style="text-decoration:underline;color:green">c</span>.o<span style="text-decoration:line-through;color:red">rg</span>o<span style="text-decoration:underline;color:green">m</span> remote /website/''project-name'' local ''path-to-local-directory'' http secure ... http secure protocol webdav port 443 username ''<span style="text-decoration:line-through;color:red">n</span><span style="text-decoration:underline;color:green">k</span>e<span style="text-decoration:line-through;color:red">tbea</span>n<span style="text-decoration:line-through;color:red">s.org</span>en<span style="text-decoration:underline;color:green">ai</span>-username'' password ''<span style="text-decoration:line-through;color:red">n</span><span style="text-decoration:underline;color:green">k</span>e<span style="text-decoration:line-through;color:red">tbea</span>n<span style="text-decoration:line-through;color:red">s.org</span>en<span style="text-decoration:underline;color:green">ai</span>-password'' '''Notes:''' * <tt>'''site-name'''</tt> is just a name you use to distinguish this site's settings from other site settings in the <tt>.sitecopyrc</tt> file. You use it in the <tt>sitecopy -f </tt> command to initiate a transfer of files for this site to the corresponding website on <span style="text-decoration:line-through;color:red">n</span><span style="text-decoration:underline;color:green">k</span>e<span style="text-decoration:line-through;color:red">tbea</span>n<span style="text-decoration:line-through;color:red">s</span>en<span style="text-decoration:underline;color:green">ai</span>.<span style="text-decoration:underline;color:green">c</span>.o<span style="text-decoration:line-through;color:red">rg</span>o<span style="text-decoration:underline;color:green">m</span>. * <tt>'''remote'''</tt> requires a slash (<tt>/</tt>) before the first directory name. For example, for the <span style="text-decoration:line-through;color:red">he</span><span style="text-decoration:underline;color:green">B</span>l<span style="text-decoration:line-through;color:red">p</span><span style="text-decoration:underline;color:green">uebird</span> project, whose project home page URL is <tt><nowiki>http://<span style="text-decoration:line-through;color:red">n</span><span style="text-decoration:underline;color:green">w</span>e<span style="text-decoration:line-through;color:red">t</span>eb<span style="text-decoration:underline;color:green">sit</span>be<span style="text-decoration:line-through;color:red">a</span>e<span style="text-decoration:underline;color:green">.ke</span>n<span style="text-decoration:line-through;color:red">s</span><span style="text-decoration:underline;color:green">ai</span>.<span style="text-decoration:underline;color:green">c</span>.o<span style="text-decoration:line-through;color:red">rg</span>o<span style="text-decoration:underline;color:green">m</span>/projects/<span style="text-decoration:line-through;color:red">he</span><span style="text-decoration:underline;color:green">b</span>l<span style="text-decoration:line-through;color:red">p</span><span style="text-decoration:underline;color:green">uebird</span></nowiki></tt>, you would enter <span style="text-decoration:line-through;color:red"> </span><tt>/website/<span style="text-decoration:line-through;color:red">he</span></nowiki></tt>, you would enter <tt>/website/<span style="text-decoration:underline;color:green">b</span>l<span style="text-decoration:line-through;color:red">p</span><span style="text-decoration:underline;color:green">uebird</span></tt>. * <tt>'''local'''</tt> is the path to the directory on your local file system where you maintain the website files. <span style="text-decoration:line-through;color:red">Y</span><span style="text-decoration:underline;color:green">====Using Sitec</span>o<span style="text-decoration:underline;color:green">py==== The first time yo</span>u <span style="text-decoration:underline;color:green">use site</span>ou c<span style="text-decoration:line-through;color:red">an</span>c<span style="text-decoration:underline;color:green">opy,</span> <span style="text-decoration:underline;color:green">yo</span> u<span style="text-decoration:line-through;color:red">p</span>u<span style="text-decoration:underline;color:green"> need to initia</span>l<span style="text-decoration:underline;color:green">ize the site: &nbsp;$sitec</span>o<span style="text-decoration:underline;color:green">py -i ''site-n</span>loa<span style="text-decoration:line-through;color:red">d</span>a<span style="text-decoration:underline;color:green">me'' Here's</span> <span style="text-decoration:line-through;color:red">f</span><span style="text-decoration:underline;color:green">a typ</span>i<span style="text-decoration:underline;color:green">ca</span>l<span style="text-decoration:underline;color:green"> s</span>e<span style="text-decoration:underline;color:green">rie</span>s <span style="text-decoration:underline;color:green">o</span>f<span style="text-decoration:underline;color:green"> steps fo</span>r<span style="text-decoration:underline;color:green"> using Sitec</span>o<span style="text-decoration:underline;color:green">py. # Perfor</span>m <span style="text-decoration:underline;color:green">a fetch:<br/><tt>&nbsp;$sitecop</span>y<span style="text-decoration:underline;color:green"> -f ''site-name''</tt><br/><br/> # Synchr</span>o<span style="text-decoration:underline;color:green">nize yo</span>iles from your local <span style="text-decoration:line-through;color:red">di</span>re<span style="text-decoration:line-through;color:red">c</span>ur local re<span style="text-decoration:underline;color:green">posi</span>tory <span style="text-decoration:underline;color:green">wi</span>tory t<span style="text-decoration:line-through;color:red">o</span>t<span style="text-decoration:underline;color:green">h</span> your <span style="text-decoration:line-through;color:red">p</span>r<span style="text-decoration:line-through;color:red">oj</span>e<span style="text-decoration:line-through;color:red">c</span> your re<span style="text-decoration:underline;color:green">mo</span>t<span style="text-decoration:underline;color:green">e</span> <span style="text-decoration:underline;color:green">rep</span>o<span style="text-decoration:underline;color:green">sitory:<br/><tt>&</span>n<span style="text-decoration:underline;color:green">bsp;$sitecopy</span>t on <span style="text-decoration:line-through;color:red">k</span> <span style="text-decoration:underline;color:green">-s ''sit</span>e<span style="text-decoration:underline;color:green">-</span>na<span style="text-decoration:underline;color:green">me''</tt><br/><br/>'''Note:''' There </span>enai<span style="text-decoration:line-through;color:red">.</span>i<span style="text-decoration:underline;color:green">s a bug with site</span>co<span style="text-decoration:line-through;color:red">m</span><span style="text-decoration:underline;color:green">py</span> <span style="text-decoration:line-through;color:red">b</span><span style="text-decoration:underline;color:green">s</span>y<span style="text-decoration:underline;color:green">nchronization</span> <span style="text-decoration:underline;color:green">that req</span>u<span style="text-decoration:underline;color:green">ire</span>s<span style="text-decoration:underline;color:green"> you to synchron</span>i<span style="text-decoration:underline;color:green">ze as ma</span>y usin<span style="text-decoration:line-through;color:red">g</span>n<span style="text-decoration:underline;color:green">y</span> t<span style="text-decoration:underline;color:green">imes as you </span>h<span style="text-decoration:underline;color:green">av</span>e <span style="text-decoration:underline;color:green">subdirectories. For more in</span>fo<span style="text-decoration:underline;color:green">rmation, see [http://</span> the fol<span style="text-decoration:line-through;color:red">l</span>l<span style="text-decoration:underline;color:green">ists.manyfish.c</span>o<span style="text-decoration:line-through;color:red">w</span><span style="text-decoration:underline;color:green">.uk/p</span>i<span style="text-decoration:underline;color:green">permail/sitecopy/2009-Ju</span>n<span style="text-decoration:underline;color:green">e/000140.html].<br/><br/> # Make chan</span>g<span style="text-decoration:underline;color:green">es</span> <span style="text-decoration:underline;color:green">in your lo</span>c<span style="text-decoration:underline;color:green">al rep</span>o<span style="text-decoration:underline;color:green">sitory.<br/><br/> # Update the re</span>ing com<span style="text-decoration:line-through;color:red">m</span>m<span style="text-decoration:underline;color:green">ote repository with ch</span>an<span style="text-decoration:line-through;color:red">d: </span><span style="text-decoration:underline;color:green">ges</span> <span style="text-decoration:underline;color:green">from</span><span style="text-decoration:underline;color:green">your</span><span style="text-decoration:underline;color:green">local</span><span style="text-decoration:underline;color:green">repo</span>sit<span style="text-decoration:underline;color:green">ory:<br/><tt>&nbsp;$sit</span> sitecopy -<span style="text-decoration:line-through;color:red">f</span>ecopy -<span style="text-decoration:underline;color:green">u</span> ''site-name''<span style="text-decoration:underline;color:green"></tt><br/><br/></span> ''site-name'' You can get a list of all available sitecopy commands by entering sitecopy --help <span style="text-decoration:line-through;color:red"> </span> You can get a list of all available sitecopy commands by entering sitecopy --help ==Using BitKinex with Microsoft Windows XP and Vista== <span style="text-decoration:underline;color:green">'''Note''': Before you can use WebD</span>A<span style="text-decoration:underline;color:green">V</span> <span style="text-decoration:underline;color:green">with your project's web site, you must </span>f<span style="text-decoration:underline;color:green">i</span>r<span style="text-decoration:underline;color:green">st </span>e<span style="text-decoration:underline;color:green">nabl</span>e <span style="text-decoration:underline;color:green">the web site as described at [[ManageProject#</span>Web<span style="text-decoration:underline;color:green">site|Managing a Project: Website]]. A free Web</span>==Using BitKinex with Microsoft Windows XP and Vista== A free WebDAV client, BitKinex, is available for Microsoft Windows XP and Vista. You can download it from [http://www.bitkinex.com<span style="text-decoration:line-through;color:red">/download.php</span>DAV client, BitKinex, is available for Microsoft Windows XP and Vista. You can download it from [http://www.bitkinex.com]. ===Setting Up BitKinex for Your Project=== # After installing BitKinex, click its icon [[image:bitkinex-icon.gif]] to run it. ... # After installing BitKinex, click its icon [[image:bitkinex-icon.gif]] to run it. # Select the Http/WebDAV node.<br/><br/>[[image:bitkinex-choose-type.png]] # Choose Data Source > New > Http/WebDAV.<br/><br/>[[image:bitkinex-choose-datasource.png]] # Enter a name for the new data source and <span style="text-decoration:underline;color:green">right </span>click it<span style="text-decoration:underline;color:green"> and choose properties </span>]. ===Setting Up BitKinex for Your Project=== # After installing BitKinex, click its icon [[image:bitkinex-icon.gif]] to run it. ... # Choose Data Source > New > Http/WebDAV.<br/><br/>[[image:bitkinex-choose-datasource.png]] # Enter a name for the new data source and click it.<br/><br/>[[image:bitkinex-click-newdatasource.png]] # Make sure '''Server''' is selected in the tree on the left.<br/><br/>[[image:bitkinex-server-settings.png]] # For '''Server address''', enter <tt><span style="text-decoration:line-through;color:red">n</span>.<br/><br/>[[image:bitkinex-click-newdatasource.png]] # Make sure '''Server''' is selected in the tree on the left.<br/><br/>[[image:bitkinex-server-settings.png]] # For '''Server address''', enter <tt><span style="text-decoration:underline;color:green">w</span>e<span style="text-decoration:line-through;color:red">t</span>eb<span style="text-decoration:underline;color:green">sit</span>be<span style="text-decoration:line-through;color:red">a</span>e<span style="text-decoration:underline;color:green">.ke</span>n<span style="text-decoration:line-through;color:red">s</span><span style="text-decoration:underline;color:green">ai</span>.<span style="text-decoration:underline;color:green">c</span>.o<span style="text-decoration:line-through;color:red">rg</span>o<span style="text-decoration:underline;color:green">m</span></tt>. # For '''Security''', choose SSL. # Enter your <span style="text-decoration:line-through;color:red">n</span><span style="text-decoration:underline;color:green">Proj</span>e<span style="text-decoration:underline;color:green">c</span>et<span style="text-decoration:line-through;color:red">b</span>t<span style="text-decoration:underline;color:green"> K</span>e<span style="text-decoration:line-through;color:red">a</span>n<span style="text-decoration:line-through;color:red">s.org</span>en<span style="text-decoration:underline;color:green">ai</span> username and password. # Click '''Site Map''' under the Server node on the left.<br/><br/>[[image:bitkinex-sitemap-settings.png]] # Double-click the <tt>/</tt> entry under Path and change it to <tt>/website/''your-project-name''/</tt>.<br/>For example, for the <span style="text-decoration:line-through;color:red">he</span><span style="text-decoration:underline;color:green">B</span>l<span style="text-decoration:line-through;color:red">p</span><span style="text-decoration:underline;color:green">uebird</span> project, whose project home page URL is <tt><nowiki>http://<span style="text-decoration:line-through;color:red">n</span><span style="text-decoration:underline;color:green">w</span>e<span style="text-decoration:line-through;color:red">t</span>eb<span style="text-decoration:underline;color:green">sit</span>be<span style="text-decoration:line-through;color:red">a</span>e<span style="text-decoration:underline;color:green">.ke</span>n<span style="text-decoration:line-through;color:red">s</span><span style="text-decoration:underline;color:green">ai</span>.<span style="text-decoration:underline;color:green">c</span>.o<span style="text-decoration:line-through;color:red">rg</span>o<span style="text-decoration:underline;color:green">m</span>/projects/<span style="text-decoration:line-through;color:red">he</span><span style="text-decoration:underline;color:green">b</span>l<span style="text-decoration:line-through;color:red">p</span><span style="text-decoration:underline;color:green">uebird</span></nowiki></tt>, you would enter <tt>/website/<span style="text-decoration:line-through;color:red">he</span><span style="text-decoration:underline;color:green">b</span>l<span style="text-decoration:line-through;color:red">p</span><span style="text-decoration:underline;color:green">uebird</span>/</tt>. # Make sure that '''The location specifies:''' is set to <tt>Directory (WebDAV-compliant)</tt>. # Click Update. # Click OK at the bottom of the dialog. BitKinex should now be set up to work with your project's web site location on <span style="text-decoration:line-through;color:red">n</span><span style="text-decoration:underline;color:green">Proj</span>e<span style="text-decoration:underline;color:green">c</span>et<span style="text-decoration:line-through;color:red">b</span>t<span style="text-decoration:underline;color:green"> K</span>e<span style="text-decoration:line-through;color:red">a</span>n<span style="text-decoration:line-through;color:red">s</span>en<span style="text-decoration:underline;color:green">ai</span>.<span style="text-decoration:line-through;color:red">org.</span>. ===Using BitKinex With Your Project's Website Directory=== After setting up BitKinex to work with your project<span style="text-decoration:underline;color:green"> on Project Kenai</span> ===Using BitKinex With Your Project's Website Directory=== After setting up BitKinex to work with your project, you have a node for your project under the Http/WebDAV node when BitKinex first opens. Basically, you click that node, establish a connection, and transfer files to <span style="text-decoration:line-through;color:red">n</span>, you have a node for your project under the Http/WebDAV node when BitKinex first opens. Basically, you click that node, establish a connection, and transfer files to <span style="text-decoration:underline;color:green">k</span>e<span style="text-decoration:line-through;color:red">tbea</span>n<span style="text-decoration:line-through;color:red">s</span>en<span style="text-decoration:underline;color:green">ai</span>.<span style="text-decoration:underline;color:green">c</span>.o<span style="text-decoration:line-through;color:red">rg</span>o<span style="text-decoration:underline;color:green">m</span>. You can also delete files on <span style="text-decoration:line-through;color:red">n</span><span style="text-decoration:underline;color:green">k</span>e<span style="text-decoration:line-through;color:red">tbea</span>n<span style="text-decoration:line-through;color:red">s</span>en<span style="text-decoration:underline;color:green">ai</span>.<span style="text-decoration:underline;color:green">c</span>.o<span style="text-decoration:line-through;color:red">rg</span>o<span style="text-decoration:underline;color:green">m</span> with BitKinex, and you can replace files by uploading new versions. '''To use BitKinex with your project's Website directory:''' # Double-dlick the node for your project under the Http/WebDAV node.<br/><br/>[[image:bitkinex-choose-site.png]] # You see the connection window open.<br/><br/>[[image:bitkinex-connection-window.png]] # To populate your <span style="text-decoration:line-through;color:red">n</span><span style="text-decoration:underline;color:green">k</span>e<span style="text-decoration:line-through;color:red">tbea</span>n<span style="text-decoration:line-through;color:red">s</span>en<span style="text-decoration:underline;color:green">ai</span>.<span style="text-decoration:underline;color:green">c</span>.o<span style="text-decoration:line-through;color:red">rg</span>o<span style="text-decoration:underline;color:green">m</span> web site, click and drag files from your local machine on the right to the server directory on the left. # You can work directly with files and directories on the server. For example, if you right-click a server directory, you see a menu with choices like New > Directory or File.<br/><br/>[[image:bitkinex-connection-window-newdir.png]] # BitKinex comes with a set of help files for when you get stuck. Most of the operations are similar to using a file browser on Windows.<br/><br/>[[image:bitkinex-help.png]]<span>

Project Features

Wiki Controls

About this Project

Help for netbeans.org Site Tools was started in November 2009, is owned by kenaiadmin, and has 17 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close