Giter Site home page Giter Site logo

jnario / code-relay Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mmulet/code-relay

0.0 0.0 0.0 9.38 MB

Source for the Code Relay website. Code Relay The fastest and easiest way to contribute to open source!

Home Page: https://www.coderelay.io

License: MIT License

TypeScript 98.55% HTML 0.04% JavaScript 1.13% CSS 0.28%

code-relay's Introduction

coderelay.io

This is the source for the code-relay website.


What is code relay?

Code Relay is a platform for contributing to open source code. What makes code relay unique is that instead of writing a whole bug fix, you make incremental progress and then pass it along to the next contributor. Like how you only run part of a race in a relay race and then pass the baton off to the next runner. Learn more at coderelay.io


Looking for the repo for the back-end code?

There isn't one, yet. Right now, I (@mmulet) answer all emails personally. When code relay grows large enough that it needs an automated backend, I intend to build it using code relay, and it will be open source.


The content is all plain html, but we do have some javascript for interactive animations and other fun things. In the true spirit of web-development, we have re-invented the wheel and created a custom build system using React/React-dom server. Namely, we wrote the whole site with React components, which we generate ahead of time and serve as plain html. Read more about this in ./scripts/README.md.

Structure

Here are the folders and their meanings:

  • docs folder is where all user facing content goes. The server serves all files in the docs folder as /

  • gulp folder is where all files for the gulp build system go. These are all typescript files. These files are all compiled on the fly by ts-node

  • scripts folder is where all source files for the website reside.

Development

Install dependencies:

npm install .

Then, generate the site.

npm run build

Use npm run dev to start the gulp file which will watch all sources and generate on the fly with live-reload

npm run dev

Set the environment variable CODE_RELAY_DEV_PORT to change the port. The default is 5000.

All the code for the site is in the ./scripts/src directory

How to read the code

  • Start at ./gulpfile.ts to see how it is built
  • This should lead you to ./scripts/src/index.ts which will generate all files.
  • From there look at each file in ./scripts/src/fileGenerators

code-relay's People

Contributors

mmulet avatar alexmv avatar lucaswerkmeister 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.