Skip to content
/ wdt Public

A Simple Tool for Hosting Websites on a Linux Server (currently only Debian based)

License

Notifications You must be signed in to change notification settings

trimclain/wdt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WDT

WDT is a Website Deployment Tool using Express, Nginx and SSL with Let's Encrypt.

It uses

  • n -- Node.js version manager
  • Express.js -- Web framework for Node.js
  • Nginx -- HTTP and reverse proxy server
  • pm2 -- Daemon Process Manager for Node.js
  • ufw -- program for managing a netfilter firewall
  • certbot -- client for the Let's Encrypt CA with a plugin for nginx
  • crontab -- cron job creator and scheduler

Getting Started

Installing

  1. Clone this repository
git clone https://github.com/trimclain/wdt
  1. Run the installation
make install

Setting up your domain

This part is required to setup the connection between your domain and your linux server. 0. Go to your domain name registrar's website (e.g. namecheap.com) and sign in.

  1. Go to Dashboard and choose your domain to manage
  2. Go to the Advanced DNS tab
  3. Add a new "A Record", as host add "@" (stands for root), as value add the ip of the server you will be hosting on, TTL leave as "automatic"
    NOTE: You can get the ip of your server with curl ifconfig.me
  4. Do the same for host "www"

Demo

Here's a demo showing full deployment of one of my projects. This was done after the configuration above.

demo.mp4

About

A Simple Tool for Hosting Websites on a Linux Server (currently only Debian based)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published