Skip to content

centre-for-effective-altruism/effectivealtruism-org-static

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EffectiveAltruism.org

A simple statically-generated site, implemented in Metalsmith.

Currently in beta.

Running locally

  • Clone the repo
  • npm install && bower install
  • Create a new .env file at the project root. (e.g. touch .env && nano .env)
  • Add the following keys to .env (You'll need to contact the project admin privately for API keys):
ENV=development
CONTENTFUL_ACCESS_TOKEN=<contentful access token>
CONTENTFUL_SPACE=<contenful space>
  • Build the site using node index
  • The site builds to the ./dest directory --- the simplest way to serve this is to install http-server globally (npm install -g http-server), open a new Terminal tab, cd ./dest && http-server. You can leave the server running between builds.

Browserstack thank you

BrowserStack has generously granted us an open source license for this project. We're an all mac dev shop and it's useful to test out on windows.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published