Giter Club home page Giter Club logo

website-v3's Introduction

Station website

Note: This project uses Gatsby v2.

⚡️ Features

🚀 Prerequisites

  1. Install the Gatsby CLI

    The Gatsby CLI helps you create new sites using Gatsby starters (like this one!)

    # install the Gatsby CLI globally
    npm install -g gatsby-cli
  2. Node version manager

    Install NVM to manage its version of Node:

    curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash

    In the project, install and use the current version of Node:

    # Installs the node version specified in the .nvmrc
    nvm install
    # Switches to the node version specified in the .nvmrc
    nvm use

    (Optional but highly recommended) Install AVN to avoid having to run nvm use every time you open the project.

  3. Install Yarn

    Go to https://yarnpkg.com/docs/install

    brew install yarn --ignore-dependencies
  4. Prismic API KEY

    Create a .env.development at the root of the project.

    # Prismic API_KEY
    API_KEY=XXXXX_YOUR_TOKEN_XXXXX

🔨 Commands

  1. Download dependencies

    yarn install
  2. Start developing

    Navigate into your new site’s directory and start it up.

    gatsby develop

    Your site is now running at http://localhost:8000!

    _Note: You'll also see a second link: http://localhost:8000/___graphql. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial._

  3. Build

    gatsby build
  4. Serve Build

    gatsby serve
  5. Launch Storybook

    yarn storybook

website-v3's People

Contributors

alexstrat avatar hugomano avatar nacryn avatar sutter 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.