![]() ![]() Open terminal and type cd and then drag the src folder within the mod_auth_cas_sfu-1.0.8 folder to the terminal window. When you download that on your Mac, it should untar so you will end up with a mod_auth_cas_sfu-1.0.8 directory. More information about CAS is at SFU's CAS pages. Please email me with any corrections or suggestions.ĭownload a copy of mod_auth_cas which you can get from. Please email so they know you are using CAS and can inform you of any changes. To turn it on, go to system preferences/sharing and check the 'Web Sharing' box. Any mac will work as a web server- apache is built in. Textwrangler will make changes much easier. You need the Developer tools (Xcode) from Apple installed (with Mountain Lion & Lion you need to go to Xcode preferences and install the command line tools). If you accidentally terminate your instance but didn't save your files to your SVN, don't expect a large amount of sympathy.Adding SFU's CAS support to Apache on Mac OS X Snow Leopard / Mountain Lion These directions are directly taken from information by Ray Davison (SFU ICAT, IT Services) and extensive help from Derek Warren (IT Services) but any error, confusion or ambiguity is completely my own. To reiterate: It is highly recommended, albeit not required, to backup files using SVN no matter how you edit and save them. Once everything is up and running, you will be able to easily upload files to your server for the remainder of this course. If you need help setting up an SSH filesystem or an SFTP client, you may ask a TA. For instructions, see the Web Server Configuration guide from Module 1. You can use an SFTP client like FileZilla (universal) or WinSCP (if on Windows) to upload files to your server.You can use as SSH filesystem client to make local files automatically update on your server.This works best if you have configured Apache to point to your SVN repository. If you edit the files in Eclipse, just commit changes to your repository, and on your server, run svn update to pull the changes down.If you edit files on your desktop, there are several ways to upload those files to your server. However, since SVN is a version control system, you should still backup your files to SVN at the end of the day. If you edit your files on your desktop, you will always have a second copy, so this is less of an issue. It is easy to destroy your entire project by pressing the wrong key in vim/emacs/nano! CSE330 students in past semesters have lost days worth of work because they used vim/emacs/nano to edit their files but didn't commit them to SVN. However, if you do, you are in danger of accidentally losing your code because you don't have it backed up anywhere. If you edit your files directly on the server using a command-line text editor, you can use them right away. In the Aptana Studio welcome screen, go to Plugins.Load the packages and install Aptana Studio.In Eclipse, go to Install New Software.Web site: įollow these instructions to install Aptana as a plugin to Eclipse. Here are some helpful web sites:Īptana is a web development toolkit that can be installed as a plugin to Eclipse or as a separate application. There are tools available for both to speed up your web development routine. TextWrangler: Available from the Mac App Store or from.Notepad++: (you might want to save it to your H: drive).Notepad++ and TextWrangler are free GUI text editors for Windows and Mac OS X, respectively. Here are some links to tutorials that will show you how to set up your command line text editor of choice: The communities behind command-line text editors are strong, and so there are plugins available to make your editor of choice more well suited to programming in HTML, CSS, PHP, and other web languages. This section covers how to configure your editor of choice to be most efficient at web development. If you like emacs or vi, that's fine, but know that there are other equally powerful options. Don't feel like using vi or emacs will make you a good programmer, because I promise: it doesn't. The graphical user interface was invented for a reason. In particular, you do NOT need to use command-line text editors as your primary development environment in this class. The most important aspect to consider is what you are most comfortable using. You can use a full-scale integrated development environment (IDE), like Aptana Studio - Eclipse (open source) or PHPStorm (paid, but highly recommended).You can use a GUI text editor, like Notepad++ or TextWrangler.You can use a command-line text editor, like emacs, vi, or nano.You first need to choose how you want to approach file editing.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |