0.0.7 • Published 2 years ago

cli-webserver v0.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Table of Contents

Built With

Getting Started

Disclaimer

This project is still under development which means it have not been tested on other machines, USE AT YOUR OWN RISK.

Perquisites

Your system must have these following packages installed and running:

Installation

  1. Install via NPM (globally)

    npm install -g cli-webserver

Uninstall

  1. Uninstall via NPM (globally)
    npm uninstall -g cli-webserver

Usage

This script is farley straight forward to use

Setup Webserver

  1. Run the CLI

    webserver <environment> [options]

    or

    cli-webserver <environment> [options]

    Then follow the instructions on the screen

Webserver command-line options

OptionArgumentsDescription
environmentdevelopment, productionSkips first question regarding dev/prod menunull
-ddomain.comYour domain is passed to Certbot and NGINXnull
-fPATH to frontend directoryPath to your frontend directorynull
-cPATH to nginx config filePath to your nginx config filenull
-p0-9999Port to expose host (only development)null
-ename@domain.comEmail to register certificate (passed directly to Certbot)null

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Filip "Gnusson" Magnusson - @GnussonNet - admin@gnusson.net

Project Link: [Github.com/GnussonNet/cli-webserver(https://github.com/GnussonNet/cli-webserver)

Acknowledgments

Special thanks to the below users who gave me a great start when creating this project.

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

1.0.0

2 years ago