Skip to content

travel-intelligence/flasfka-deb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flasfka-deb

Build Status

Packaging for flasfka (fpm-based) based on the latest pypi release.

Features

The package embeds all the python dependencies in a virtualenv. It also sets up uwsgi. An example configuration for nginx is included.

How to build

  • install fpm
  • install python-virtualenv
  • run sh pkgbuild.sh

How to use, once built and installed

  • copy what you need from /usr/share/doc/flasfka-*/nginx.conf.sample to /etc/nginx.conf and restart nginx.
  • edit /etc/flasfka.conf to configure how flasfka connects to your cluster.
  • start using flasfka: it is now being served from /flasfka/vX (where X is the major version - see below). A simple test will help seeing if everything is fine.

Package naming convention

flaskfka has semantic versioning, which guarantees that versions starting with the same digit (MAJOR) have a backward compatible api. This digit determines the name of the package (0.x.y generates flasfka-v0, 1.x.y generates flasfka-v1...), ensuring that we can safely replace the packages of a same MAJOR with one another.

This is for upgrade purpose, such that 2 incompatible versions can be installed on the same system, and served at 2 urls, without apt complaining.

About

Debian packaging of flasfka using fpm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages