Skip to content

ascsn/professionalwebsites

Repository files navigation

Primer on Professional Websites

Presented by the Advanced Scientific Computing and Statistics Network (ASCSN)

The purpose of this repository is to present a few examples, at different levels of sophistication, of how you can construct a professional website that will act as the authoritative source of your web presence.

Slides can be found here

Running the development environment

To streamline the process, you can run the examples in this repository in a cloud-based development environment by using the GitHubcodespaces feature:

  • First, consider forking the repository so that you can play directly with the code and push your changes
  • Second, press the big green code button and select codespaces if it is not already selected
  • Finally, start your codespace!

This will start up your online development environment and now you can play around with minimal installation.

How to 'serve' the websites

Basics

The first example found in the basics folder represents the simplest form of website consisting of just basic html. To view this website in a preview browser, just run the following in the terminal:

./runbasics.sh

You quit the http server by pressing ctrl+c in the terminal and restart it at any time as you change the file.

Retro

A more involved example can be found in retro. This mixes together html and css to have a little more control over the styling of your website. It can be ran in the same way as before, but with the following command:

./runretro.sh

A Little More Modern

Now we will fold in a bit of javascript to round out our web framework. We will also use a static sebsite generator framework to leave a lot of the heavy lifting in styling and html wrangling. This process is a bit more complicated, but when you deploy this on a static site provider like vercel or netlify these technical details will be handled for you. To run, enter the following:

./runmodern.sh

This example is pulled from a Next.js tutorial with a few tweaks to show you how it's done. If you want to use this as your template, press the following deploy button!

Deploy with Vercel

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published