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.
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
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:
To confirm that you have npm installed you can run this command in your terminal:
- Install Gatsby CLI:
npm install --global gatsby-cli
- Install Yarn. Detailed steps are provided here
The first step to run NUCSSA website locally is downloading the code by cloning the repository:
If you get Permission denied error using ssh refer here or use https link as a fallback:
Go to nucssa-website folder:
Install: to install necessary libraries:
Develop: to hot-serve your website on http://localhost:8000
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).
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)