GithubHelp home page GithubHelp logo

teacherstrange / about Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sourcegraph/about

0.0 2.0 0.0 397.74 MB

Sourcegraph blog, feature announcements, and website (about.sourcegraph.com)

Home Page: https://about.sourcegraph.com

Shell 0.15% JavaScript 0.49% Go 0.29% TypeScript 72.31% CSS 0.36% HTML 24.36% SCSS 2.03% Jsonnet 0.02%

about's Introduction

Sourcegraph's Marketing Site

This is Sourcegraph's Marketing Site which is a Next.js project bootstrapped with create-next-app.

Build Status: Netlify Status


Getting Started

Node.js

First, make sure that you have Node.js installed. You can use nvm to automatically use the version of Node.js which is specified in the repository's .nvmrc file:

nvm install

Alternatively, you can use n to manage your Node versions. Use the following command to install the version of Node specified in the .nvmrc file:

n <node version>

Install Dependencies

From the top level of the project, run the following command to install dependencies:

yarn ci

This will install the dependencies while ensuring the lock file remains unmodified.

Running the Application

To run the application, type the following command from the top level of the project:

yarn dev

Open http://localhost:3000 with your browser to see the result.

Configure the pre-commit Githook

To enable our pre-commit hook, update the following git config setting in the project:

git config core.hooksPath .githooks

Testing

We use Cypress as our test suite and currently have end to end tests configured.

To run tests visually, run:

yarn test

To run tests headlessly in the CLI, run:

yarn test:ci

End to End Tests

  1. To create an e2e test, add them to the e2e directory with a descriptive file name.
  2. To run tests in development, run yarn test which watches your test files as you develop. Cypress will open in a new window.
  3. Click on E2E Testing and choose a preferred browser. Click on "Start E2E Testing in {browser}.
  4. You will see the tests we have under specs. Click a spec to run the test.
  5. Alternatively, you can run tests in the command line in headless mode by running yarn test:ci.

about's People

Contributors

abschu avatar aileenrose avatar attfarhan avatar beyang avatar bobheadxi avatar bretthayes avatar carlyj0nes avatar cassiemelani avatar dadlerj avatar daxmc99 avatar felixfbecker avatar inesroitman avatar joelkw avatar kmorris50 avatar mercadon avatar mgyorffy avatar nickmyyz avatar nicksnyder avatar pecigonzalo avatar rebeccadee avatar renovate-bot avatar renovate[bot] avatar rvantonder avatar ryan-blunden avatar slimsag avatar sqs avatar st0nebreaker avatar vanesa avatar virginiaulrich avatar withdavidli avatar

Watchers

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