This is the website for NUCSSA.
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.
To get started with Gatsby, you’ll need to make sure you have the following software tools installed:
-
Install Git by following the official guide.
-
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
- Install Gatsby CLI:
npm install --global gatsby-cli
- 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.
The first step to run NUCSSA website locally is downloading the code by cloning the repository:
[email protected]: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.
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.
- Easy editable content in Markdown files (posts, pages and parts)