Our website is built using GatsbyJS, which is a tool for generating static ReactJS sites.
All of the articles are stored as Markdown files in the content folder in the repo.
All images are stored in our S3 bucket named theharvardadvocate
.
pip3 install awscli --upgrade --user
If you have problems check this page.
Ask us for an Access Key and a Secret Key. Once you have them run:
aws configure
on your terminal and follow the prompts to type them in. The region is us-east-1
.
npm install -g gatsby-cli
git clone https://github.com/<your-github-name>/main-website.git
cd main-website
GATSBY_CONCURRENT_DOWNLOAD=20 gatsby develop
This command may take a while the first time you run it. If it fails try running it again.