| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Access it at https://www.raspitt.org. This is a static HTML website and can be edited on any computer that has access to an text editor - no setup or environment required. See section below for how to navigate the website locally.
Find deployment status here: https://github.com/Pitt-RAS/PittRAS/deployments/activity_log?environment=github-pages
Anything put inside of this repo is public for everyone to see, including non-html files. If the user knows the relative file path, the file can be viewed. For example https://www.raspitt.org/LICENSE.txt will pull up the license file. Proceed with caution! Do not store sensitive info in this repo!
Two options:
You can paste the file path to any html file in the browser and it will open. Alternatively, on windows at least, you can just double click the html file and it will open in the browser automatically. Or you can do right click and then open with > your choice of browser.
If you are a VScode user, add the extension called "Live Server". Once it's installed, close and reopen VScode. If you go to any html file, you will now see a "Go Live" button in the bottom right corner. You can click that to preview the current html file you are on. An alternative is "Live Preview" by microsoft which lets you preview the webpage inside of visual studio. Click on HTML file and then select preview in the upper right hand corner.
Every site page has a file extension of .html. You can see this by looking through the repo. However, you might notice when navigating through the website on a browser, you do not see the .html extension. This is because the .htaccess file redirects any file (/filename) that doesn't resolve to /filename.html. So, when published all the links will work properly with the help of htaccess.
Locally however, the links will remain broken making it kind of difficult to navigate through the site when working on a local copy. A simple solution would just be to append .html to the broken file path in the browser (but this might be different for say the projects file, which is both a directory and an html file). This also depends on the browser being used because some browsers are smart and try to autocomplete the link. Just something to be aware of when working on the website locally.
Lastly, the contact page takes a bit to load locally. This is because the mailchimp form is trying to load its thing but it's unable to.
Only use this method when absolutely necessary. If only static HTML updates are needed, do your development on a branch other than main and then merge into main when finished. The use of the maintenance page is only for making modifications to the website where the changes cannot be tested on locally (requires the website being live). This means that development will have to be done on the main branch. Unfortunately, it doesn't seem like github pages supports hosting multiple branches so this will have to do for now.
How it works:
Steps:
| Back | FazBrowse Home | New Git URL |