Skip to content
프로젝트

소개

Code Relay 웹사이트의 소스 코드입니다. Code Relay는 오픈소스에 가장 빠르고 쉽게 기여하는 방법입니다!

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

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

관련 프로젝트 살펴보기

불러오는 중…