GithubHelp home page GithubHelp logo

jackrzhang / main-website Goto Github PK

View Code? Open in Web Editor NEW

This project forked from miking98/main-website

0.0 1.0 0.0 3.11 MB

Harvard Advocate Website

Home Page: https://theharvardadvocate.com

License: MIT License

JavaScript 71.63% CSS 28.37%

main-website's Introduction

Harvard Advocate Website

Overview

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.

Getting started

Install the AWS Cli

brew install awscli

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.

Set up Gatsby

Check if you have NodeJS installed:

which node

If there is no output, you can install NodeJS directly or via a version manager like nvm.

Install the Gatsby CLI.

npm install -g gatsby-cli

Fork this repository and then clone your fork:

git clone https://github.com/<your-github-name>/main-website.git

Move to the cloned directory

cd main-website

npm install

Run npm install

Build the site

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.

Click here to open the site once the build completes

If you see the website working properly then you are good to go!

main-website's People

Contributors

daninge avatar jackrzhang avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.