|
SalsaScript Tutorial (1, 2, 3, 4, 5)This tutorial is a primer on how to get set up using SalsaScript and creating a simple news aggregator. Before you can begin developing in SalsaScript, you will need a developer account for Salsa. If you don't already have one, you can sign up for a developer account here. Part I - Getting set upConnecting to the SalsaScript RepositoryFiles you develop and deploy are stored in a Subversion repository, that you can edit either through a Subversion client, or by directly mounting a drive on your machine, using a protocol known as WebDAV. Both methods are described below. Using WebDAVEditing files using WebDAV is as simple as mounting a remote directory, and creating and editing normal files. For OS XTo mount your directory in OS X:
For WindowsSome Windows systems natively support the WebDAV protocol. However, in many of them, WebDAV is not completely stable. There are many third-party WebDAV clients available for Windows that may work better. Check Google for more info. Alternatively, use Subversion, described below. For LinuxLinux users may opt to use the native webdav feature in their operating system. For a more configurable environment, they may also opt for WDFS (WebDav FS) or davFS2. Both of these are file system modules for FUSE and allow for the codebase to be viewed as a mounted drive and manipulated directly from vi, emacs, or the editor of your choice. Otherwise, use Subversion, as described below. Using SubversionUsing Subversion gives you more control over versioning of your files, and on slow internet connections may perform better than a WebDAV mount. You should be familiar with Subversion before connecting.
Continue to Page 2 - Creating a Package |