Skip to content
This repository has been archived by the owner on Aug 6, 2020. It is now read-only.

cwells/trailerpark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trailerpark is a blog.

Status:

On the horizon. Lacks basic features such as creating articles, so don't crack open the Coors Light just yet.

Requirements:

Installation

  • Edit tp.conf. Make some changes.
  • Run "./tp.py --install", this will create the database, some views and maybe a doc or two.
  • Run "./tp.py"
  • No software installation at this point, just run it from the source directory.
  • Tornado isn't configured to serve static resources, so you'll need to run it behind a webserver (such as Nginx).

Deployment:

Nginx is recommended. Here's a basic Nginx configuration for Trailerpark:

server {
    listen      80;
    server_name localhost _;

    access_log  /var/log/nginx/trailerpark-access_log;
    error_log   /var/log/nginx/trailerpark-error_log info;

    root /var/www/trailerpark/static;

    location / {
        try_files $uri @tornado;
    }

    location @tornado {
        include proxy_params;
        proxy_pass http://127.0.0.1:5000;
    }

    location /plugins {
        location ~ \.py[c~]?|\.b~? { return 404; }
        root /var/www/trailerpark;
    }

    location = /favicon.ico { return 404; }
}

About

your trash, powered by tornado

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published