A modern Go Website with Leela
-
Node.js 8.9+
-
NPM 5.6+
git clone https://github.com/deepleela/deepleela.git
cd deepleela
npm install
npm run build
The static files are located in the ./build
folder.
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/
GPL v3