Giter Site home page Giter Site logo

gnussonnet / cli-webserver Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 787 KB

This CLI simplifies the creation and renewal of a webserver running with SSL certificates. With a modified Nginx Dockerfile and Let's Encrypts client called Certbot, it takes seconds to be up and running.

Home Page: https://www.npmjs.com/package/cli-webserver

License: MIT License

JavaScript 97.71% HTML 2.29%
cli cli-app letsencrypt nginx nodejs ssl ssl-certificates websever cli-webserver

cli-webserver's Introduction


logo

๐Ÿ”ฅ cli-webserver, simplifies webservers ๐Ÿ”ฅ

Downloads per month NPM Version Dependencies Contributors Custom badge Maintained

This CLI simplifies the creation and renewal of a webserver running with SSL certificates. With a modified Nginx Dockerfile and Let's Encrypts client called Certbot, it takes seconds to be up and running.

๐Ÿ•ต๐Ÿฝ Report Bug - โœ๐Ÿผ Contact - ๐Ÿ™‡ Request Feature


Product screenshot


Table of Contents

  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. License
  6. Contact
  7. Acknowledgments

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

    cliWebserver <environment> [options]

    or

    cli-webserver <environment> [options]

    Then follow the instructions on the screen

Webserver command-line options

Option Arguments Description
environment development, production Skips first question regarding dev/prod menu
-d domain.com Your domain is passed to Certbot and NGINX
-f PATH to frontend directory Path to your frontend directory
-c PATH to nginx config file Path to your nginx config file
-p 0-9999 Port to expose host (only development)
-e [email protected] Email to register certificate (passed directly to Certbot)

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 - [email protected]

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.

cli-webserver's People

Contributors

gnussonnet avatar

Watchers

 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.