wangguiyu / my-first-netlify-deploys

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

https://playwith.netlify.com

A small example site to generate and deploy.

Clone and deploy with a click

You can get started with your own version of this site with a couple of clicks. the button below will cline this repo to your own GitHub account and link it to a new site for you on Netlfy

Deploy to Netlify

...or you can clone it down to your local development machine and run build it there before deploying, if you prefer.

Local development

To build the site you need:

  • Node - to run the build
  • Yarn - to install an manage dependencies

Getting started

# clone this repository
git clone git@github.com:netlify/my-first-netlify-deploys.git

# go to the working directory
cd my-first-netlify-deploys

# install dependencies
yarn

# start a local build server with hot reloading
yarn start

Deployment

The build command yarn run build will generate a set of static assets in a dist folder which can be deployed to any web hosting service.

Netlify will run this build process in a CI environment and then deploy the build automatically to a global CDN. Such deployments are triggered automatically by every git push to the master branch of the origin repository.

About


Languages

Language:CSS 53.9%Language:HTML 25.7%Language:JavaScript 20.4%