Giter VIP home page Giter VIP logo

professionalwebsites's Introduction

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

professionalwebsites's People

Contributors

kylegodbey avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.