- nvm
- yarn
- Run below commands
nvm install (v16.5.0)
nvm use (Just in case you are using many different versions of node)
npm install -g gatsby-cli yarn
yarn install
yarn develop
Open http://localhost:8000 for UI Open http://localhost:8000/___graphql for Grqphql client
Gatsby enables to generate static html from md files. In order to add new KDA Meetup page,
- go to
src/content
folder. - clone the latest
meetup_##.md
file with incresed number. - update the contents for new meetup and git commit & push
- run
gatsby develop
and check everything updated inhttp://localhost:8000
- build
gatsby build
it
gatsby develop
- local test : http://localhost:8000/
Build changed contents in local and upload all static files into server.
gatsby build
- gatsby generates static website files into
/public
folder. - upload all files in public into server side.
In order to upload files into AWS, you need below accounts. If you don't have, please contact KDA admins.
- AWS Account : kodevau@gmail.com
- S3 : https://s3.console.aws.amazon.com/s3/buckets?region=us-east-1
- Clound Front : https://us-east-1.console.aws.amazon.com/cloudfront/v3/home?region=us-east-1#/distributions/E358EBUK84431U
- Domain : kodev.com.au
- login into AWS console
- go to S3 bucket named
kodev.com.au
- delete all existing files.
- upload all local
/public/*
files- make sure all files and subfolders WITHIN
/public
folder (not included/public
folder)
- make sure all files and subfolders WITHIN
- go to Cloud Front :
E358EBUK84431U
- go to tab
Invalidations
Create Invalidation
with/*
object path- wait 1~2 minutes until cdn cache refreshed.
- open webbrowser to validate the page : https:kodev.com.au SHIFT + refresh button clould clear local cache in the browser if not changed the contents or view as Incognito window
- React
- Gatsby
- SASS
Open src/components
folder and create a new mark down file by copying existing one
- Find what to add/fix/update in the Project dashboard
- High priorities
- User signup using Firebase Auth SDK
- Make a RSVP
- Show meetup history
- Provides nice previews when sharing on social medias
- Fork the repo you want to contribute
- Send a beautiful PR
- Please just make a PR small so that easy to review it