Skip to content
This repository has been archived by the owner on Feb 28, 2020. It is now read-only.

NUCSSA/nucssa-website-deprecated-kept-as-ref

Repository files navigation

NUCSSA-website

This is the website for NUCSSA.

Installation Guide

For Beginners

Note that it is not required to have these skills, tutorial provided in this README should be sufficient enough for you to set up this website. But it is highly recommended(and very helpful) for you to:

  • Learn some basic knowledge of how to use terminal and command lines.
  • Learn some basic knowledge of git and git commands.
  • Have some basic ideas of how web development works.

Preparing your environment

To get started with Gatsby, you’ll need to make sure you have the following software tools installed:

Step By Step Guide

  1. Install Git by following the official guide.

  2. Install Node and npm here.
    To check if you have Node.js installed, run this command in your terminal:

node -v

To confirm that you have npm installed you can run this command in your terminal:

npm -v
  1. Install Gatsby CLI:
npm install --global gatsby-cli
  1. Install Yarn. Detailed steps are provided here

For more information about preparing your environment, check out the preparing your environment page or set up tutorial on Gatsby official website.

Getting started

The first step to run NUCSSA website locally is downloading the code by cloning the repository:

git@github.com:NUCSSA/nucssa-website.git

If you get Permission denied error using ssh refer here or use https link as a fallback:

https://github.com/NUCSSA/nucssa-website.git

Go to nucssa-website folder:

cd nucssa-website

Install: to install necessary libraries:

yarn install

Develop: to hot-serve your website on http://localhost:8000

gatsby develop

After running this command, you should be able to see the website on http://localhost:8000.

Other useful commands

Build: to create static site ready to host (under /public).

gatsby build

Deploy: to deploy new changes to Github Pages

yarn run deploy

For more information about Using Gatsby CLI and how to start, please read their full documentations.

Features

  • Easy editable content in Markdown files (posts, pages and parts)

Useful links

Useful tools

About

NUCSSA Official Website - deprecated - keep as reference

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published