Skip to content

Website for the Investing in a Sustainable Future Conference.

License

Notifications You must be signed in to change notification settings

ericf/enviroecon.org

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Website for the Investing in a Sustainable Future Conference that took place in Cambridge, MA on April 26, 2014. You can watch the videos of the four talks and panel session on the website.

This website is open source and available to you to use as inspiration or a template for a conference website you're building. The site is integrated with Eventbrite so the event can be managed on Eventbrite's platform and the site will stay up to date.

Running the Site

0. Eventbrite integration.

This site integrates with Eventbrite as the source of truth data about the event. If you're planning to also use Eventbrite to manage your event, then you'll want to refer to their developer API docs, as you'll need your Personal OAuth Token for the site to function properly.

1. Install Node.js and Foreman.

This site uses Node.js as the runtime platform, and Foreman is a handy utility to configure and run the site locally.

2. Clone this Git repo and install dependencies.

Download this site's code by cloning this Git repo (fork it first if you plan to make changes).

$ git clone git://github.com/ericf/enviroecon.org.git

Now install of the sites's npm dependencies:

$ cd enviroecon.org
$ npm install

3. Set configuration and environment variables.

The easiest way to configure and run this site locally is to create a .env file to hold all the configuration and environment variables, and use Foreman to run the site (which will load up the .env file).

Required Variables

These configuration and environment variables need values specified in order for this site to function properly:

  • EVENTBRITE_OAUTH_TOKEN: The OAuth token used to fetch data from Eventbrite.
  • NODE_ENV: Signals to site to run in development or production mode.

Optional Variables

Additionally, values for the following configuration variables can be set to enhance the site by adding fancy fonts and analytics via Typekit and Google:

  • GOOGLE_ANALYTICS: ID of Google Analytics account.
  • TYPEKIT: ID of Typekit set.

Example .env File

The following is an example .env file which sets all the required variables in the VARIABLE=value format:

EVENTBRITE_OAUTH_TOKEN=123SOMEOAUTHTOKEN456
NODE_ENV=development

Edit config/index.js File

The config/index.js module will need to be updated with your Eventbrite eventId, and Mapbox map id.

4. Start the server!

Now you're all ready to start up the web server and start using the site! Again, Foreman is used to make this easy:

$ foreman start

About

Website for the Investing in a Sustainable Future Conference.

Resources

License

Stars

Watchers

Forks

Packages

No packages published