Skip to content

forked: rapidneosystems/netlify-cli

License

Notifications You must be signed in to change notification settings

neuroctr/netlify-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Netlify CLI

This repository consists of a README describing the minimal setup and usage of Netlify CLI, a Dockerfile and install.sh.

Notes. This repository is a private repository and will not be open to the public. The README and other documents, Dockerfiles and Shell scripts included in this repository may not always be correct.

Recommend

Below are the recommended methods for configuring and using the Netlify CLI.

Docker is recommended.

The description is written assuming use with Docker. Local use is also possible, but we have not tested it. Dockerfile is included in the repository.

install.sh is a Shell script to install Netlify CLI.

Installation

If you have created a container following the instructions in the Dockerfile or Dockerfile, the Netlify CLI should already be installed.

If you want to install from scratch, it is convenient to use setup.sh. for example, bash ./install.sh will automatically install Netlify CLI.

Both the Dockerfile and install.sh are written so that the Netlify CLI is installed globally.

Login

Follow Netlify CLI official documentation to login.

# https://docs.netlify.com/cli/get-started/
# https://docs.netlify.com/cli/get-started/#obtain-a-token-with-the-command-line

netlify login
# https://docs.netlify.com/cli/get-started/#automated-setup
netlify init

Build

Build according to Netlify CLI official documentation.

# https://docs.netlify.com/cli/get-started/#run-builds-locally
netlify build

Deploy

Manual deploys.

Please refer to the official documentation for details

Document: https://docs.netlify.com/cli/get-started/#manual-deploys

netlify deploy

Link's

About

forked: rapidneosystems/netlify-cli

Resources

License

Stars

Watchers

Forks

Languages

  • Dockerfile 51.1%
  • Shell 48.9%