Code Monkey home page Code Monkey logo

convergencedesignlab's Introduction

CDL Front-end

The Convergence Design Lab website

Structure

The Convergence Design Lab (CDL) website is split across two repositories. This repository contains the front-end of the site. The back-end is a headless WordPress, essentially an internal editing interface for the content of the site and an API for the front-end of the site. The front-end of the site is a single page app that queries this back-end to load in the dynamic content (e.g. project and resource pages).

The front-end is built with Gatsby - a framework for creating super fast websites using React.

Installing

This project uses the node and npm ecosystem to build the tool. Before attempting to install this project, make sure you have node installed. After that, clone this repository to your local machine, open up a terminal inside of the project folder and run

npm install

This will install the dependencies and make a .env file which contains environment variables (mainly needed for deploying, see deploying section).

Running

To build the site and open up a local development server, open up a terminal inside of the project folder and run:

npm run dev

You will now be able to open a browser to http://localhost:8000/. Any changes you make to the source code will be live reloaded in the browser.

Development

Workflow

There are two main branches in this repository:

  • "master" represents the latest version that has been released live.
  • "develop" is the working branch where all features should be merged.

You can create your own branch off of develop, work on a new feature and then merge it back into develop when its ready. When a new release is tested and ready to be pushed live:

  1. develop should be merged into master.
  2. The deploy command can be run (see below).

Deploying

TODO: update this section

Fill out the info in the .env file and then run:

npm run deploy

convergencedesignlab's People

Contributors

mikewesthad avatar loreleim 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.