Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 1021 Bytes

README.md

File metadata and controls

56 lines (39 loc) · 1021 Bytes

DeepLeela

A modern Go Website with Leela

Prerequisites

  1. Node.js 8.9+

  2. NPM 5.6+

Building

git clone https://github.com/deepleela/deepleela.git
cd deepleela
npm install
npm run build

The static files are located in the ./build folder.

Hosting a website

Example: Using nginx on CentOS

yum -y update
yum install epel-release
yum install nginx 

systemctl start nginx
systemctl enable nginx

nano /etc/nginx/conf.d/deepleela.conf

server {
    server_name _;
    root /path/to/deepleela;
    
    location / {
        try_files $uri $uri/ /index.html =404;
    }
}

We recommend installing certbot on your servers to enable TLS. More info: http://certbot.eff.org/

License

GPL v3