1.0.5 • Published 2 years ago

code-service v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Code Service

Code Service is a simple command-line static server tool based on Nodejs. The operation method is simple, and the server can be turned on with only one command. It is a great option for front-end beginners.

Installation

Currently, Code Service uses npm for installation. Please make sure that Nodejs and npm are installed on the system.

The installation of Nodejs can be found in nodejs.org.

npm installation

Open a system terminal and enter the following command in the terminal:

npm install -g code-service

After the installation is complete, enter the command:

code-service --version

It will display:

1.0.0

Indicates that the installation has been successful.

Use tutorial

code-service [port number]

Open a terminal in the directory where you want to deploy the server and enter the command:

code-service 5500

It will display:

The server is already running at 127.0.0.1:5500

The server started successfully. Open http://127.0.0.1:5500/ browser and you'll see your page.

Help

Enter the command in the terminal:

code-service --help

Get more help.

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago