Wykres commitów

291 Commity (f6e8aca5a3abb6615b74c9eed886cff89e093334)

Autor SHA1 Wiadomość Data
Rui Carmo d339966247
Shorter descriptions
As per roadmap, this will eventually be revisited for better help and documentation
2019-05-22 13:24:30 +01:00
Rui Carmo b17e5af4ea
Shorter help 2019-05-22 13:20:10 +01:00
Rui Carmo 99a176d9a1
Fixes #21
Also adds a few more examples.
2019-05-22 13:13:30 +01:00
Rui Carmo f10f4c3835 pylint 2018-12-23 15:32:46 +00:00
Rui Carmo 79f0e62d88 pylint 2018-12-23 15:31:55 +00:00
Rui Carmo 2a91b4a162 multiple fixes 2018-12-23 15:07:52 +00:00
Rui Carmo 1d2f8daf0a more format strings 2018-12-23 14:19:52 +00:00
Rui Carmo ffd22e0e86 more format strings 2018-12-23 14:14:54 +00:00
Rui Carmo 3bc5d176e0 cleanups 2018-12-23 14:03:08 +00:00
Rui Carmo 528ba8867f cleanups 2018-12-23 14:01:25 +00:00
Rui Carmo 1da7433328 new 3.x format strings, nginx IP addressing 2018-12-23 13:59:48 +00:00
Rui Carmo 055b27d6af pylint on wrapped funs 2018-12-23 12:21:41 +00:00
Rui Carmo a634ab90ac
Expand vars in sub-template 2018-09-14 10:04:17 +01:00
Rui Carmo 4e4b023282 typo 2018-08-29 16:54:10 +01:00
Rui Carmo 007959c821 HTTPS_ONLY option 2018-08-29 16:51:04 +01:00
Rui Carmo ff31da10d0
Remove uWSGI settings when not using 'wsgi' worker 2018-08-22 19:41:31 +01:00
Rui Carmo b10e503118
Update logs and fix handling of plain 'web' workers 2018-08-22 19:18:57 +01:00
Rui Carmo d326573075 Version check 2018-07-24 21:12:08 +01:00
Rui Carmo 118726f72b
Correct requirement for Ubuntu 2018-06-24 23:04:43 +01:00
Rui Carmo 8ae6cae2c5
Deal with Ubuntu NodeJS oddities 2018-06-24 23:02:56 +01:00
Rui Carmo 1798b92edd
Check requirements, begin Node/Java detection 2018-06-24 21:54:29 +01:00
Rui Carmo 09af816ad2
Set UID/GID in uwsgi.ini 2018-06-15 23:41:51 +01:00
Rui Carmo b80d676f2c
Snapshot env before iterating 2018-06-14 22:26:53 +01:00
Rui Carmo 229ba1add7
Default to Python 3 runtime 2018-06-14 22:16:09 +01:00
Rui Carmo 708f1568be
iteritems() -> items() 2018-06-14 22:03:32 +01:00
Rui Carmo 5e561657bb
execfile shim 2018-06-14 21:55:23 +01:00
Rui Carmo 01cbf70ba7
Go Python 3 2018-06-14 19:37:53 +01:00
Rui Carmo 8a44e4192c Merge branch 'master' of github.com:rcarmo/piku 2017-10-07 16:18:35 +01:00
Rui Carmo 4dde79db5e immutability 2017-10-07 16:18:25 +01:00
Rui Carmo 8f275268c4 fixed enumeration 2017-10-07 16:14:41 +01:00
Rui Carmo 7511a883c4 Remove dependency 2017-10-07 13:27:38 +01:00
Rui Carmo 145b7a6ae8 Fixes #12 2017-10-07 12:41:07 +01:00
Rui Carmo a432617cde sidelined REPL 2017-05-15 21:52:19 +01:00
Rui Carmo 315a5bcd2e disabled REPL 2017-05-15 21:51:08 +01:00
Rui Carmo 3307bf281c REPL 2017-05-15 21:37:14 +01:00
Rui Carmo edc2773a66 python3 fixes 2017-05-14 23:34:29 +01:00
Rui Carmo 40c08e3e8f Fix for missing Procfile 2017-02-16 22:39:51 +00:00
Rui Carmo c5655bdfba remove restriction in worker names 2016-11-20 10:05:35 +00:00
Rui Carmo 7fbb88f514 Allow PYTHON_VERSION to determine the virtualenv kind 2016-11-15 11:04:15 +00:00
Rui Carmo 4f78e5b333 tuning 2016-10-02 18:44:28 +01:00
Rui Carmo 93575af68f Support serving static files directly through nginx (hat tip @celso) 2016-10-02 18:40:02 +01:00
Rui Carmo 6e3b11f9f8 Working remote shell with interactive input 2016-09-10 10:37:37 +01:00
Rui Carmo 8001393f2a I hate web editing 2016-09-10 00:59:32 +01:00
Rui Carmo f528959038 Cleanup 2016-09-10 00:50:29 +01:00
Rui Carmo 4b769d44ad Use live environment 2016-09-10 00:46:04 +01:00
Rui Carmo 27a837598d Better environment handling 2016-09-10 00:41:38 +01:00
Rui Carmo 40a9b9a629 Reset ~/.ssh/ permissions 2016-09-10 00:12:49 +01:00
Rui Carmo 9ea085cc70 Add run command (#7)
* First pass

* Working run command
2016-09-10 00:11:39 +01:00
Rui Carmo fa6ec6b44f Update piku.py 2016-08-15 22:55:01 +01:00
Rui Carmo c8927aa60d Update piku.py
Set `listen` default to below `net.core.somaxconn` default on Ubuntu
2016-08-15 22:52:51 +01:00
Rui Carmo f59e640b1d typo 2016-05-30 21:45:47 +01:00
Rui Carmo 6111cc97f1 A little more control over UWSGI settings 2016-05-30 21:37:37 +01:00
Rui Carmo 0bfc35f4b6 scale back 2016-05-14 20:56:56 +01:00
Rui Carmo c3bea6185a packaging is a pain 2016-05-14 19:26:53 +01:00
Rui Carmo 5d5fe209bb *sigh* 2016-05-14 19:16:09 +01:00
Rui Carmo fbf164da35 fix typos 2016-05-14 19:15:21 +01:00
Rui Carmo 9a1e8bf989 minor cleanup 2016-05-14 19:10:10 +01:00
Rui Carmo 7e115394dc Expose a few more uWSGI settings to apps 2016-05-14 19:02:36 +01:00
Rui Carmo 408f503044 Sane uWSGI log format for web requests 2016-05-14 18:56:15 +01:00
Rui Carmo 196615c9a2 ENV namespacing 2016-05-14 18:31:02 +01:00
Rui Carmo bb43f5ecfb a little more performance by default 2016-05-14 18:19:02 +01:00
Rui Carmo 490004421d Adjust gzip min_length 2016-05-08 23:24:21 +01:00
Rui Carmo 276eb84405 Experimental gzip settings for ARM nginx builds 2016-05-08 23:06:55 +01:00
Rui Carmo 053469a95a Fix arrows 2016-05-05 21:13:03 +01:00
Rui Carmo e28d59953a be more tolerant of undefined vars 2016-05-05 21:09:41 +01:00
Rui Carmo c950b0a394 Be a little more informative 2016-05-05 21:05:31 +01:00
Rui Carmo 05467bf010 More pythonic approach 2016-05-05 20:21:33 +01:00
Rui Carmo 6a114498f6 don't use curl 2016-05-05 20:18:15 +01:00
Rui Carmo ed43bfcc80 typo 2016-05-05 20:04:29 +01:00
Rui Carmo adad1faf89 Add support for restricting access to CloudFlare IP ranges 2016-05-05 20:00:25 +01:00
Rui Carmo 98828f93c3 Disable SPDY in stock Raspbian 8 2016-05-03 23:22:13 +01:00
Rui Carmo 043c9ab70b add config:unset 2016-05-03 22:45:58 +01:00
Rui Carmo aeb9c4826c remove PORT from environment when using socket 2016-05-03 22:35:00 +01:00
Rui Carmo 0ba455bb36 Streamlined branching logic 2016-05-03 22:27:23 +01:00
Rui Carmo 7911144ddb Better handling of nginx config for generic processes 2016-05-03 22:18:03 +01:00
Rui Carmo 468b250394 Init web worker properly 2016-05-03 19:51:47 +01:00
Rui Carmo bfc6075470 Merge branch 'feature/nginx' 2016-04-25 14:20:13 +01:00
Rui Carmo 792d0a4a70 Typo 2016-04-25 14:19:45 +01:00
Rui Carmo 5b7fe00ec8 Better nginx feature detection 2016-04-25 14:13:06 +01:00
Rui Carmo 9551fdb6e6 fix socket permissions 2016-04-25 13:58:47 +01:00
Rui Carmo b033d51827 better feedback 2016-04-25 13:32:52 +01:00
Rui Carmo 6b69b8752c fix UNIX socket location 2016-04-25 13:29:18 +01:00
Rui Carmo 42b519628b fine tune socket handling 2016-04-25 13:23:00 +01:00
Rui Carmo 5785e431a8 typo 2016-04-25 12:29:41 +01:00
Rui Carmo 875b9b6bed typo 2016-04-25 12:28:59 +01:00
Rui Carmo 4461b46310 remove passphrase prompts 2016-04-25 12:27:25 +01:00
Rui Carmo bf00855898 Debian's nginx does not support HTTPv2 or SPDY, as usual... 2016-04-25 12:20:19 +01:00
Rui Carmo 102eb152bf Fix spdy 2016-04-25 12:14:25 +01:00
Rui Carmo 971970f6ad Second pass at certificate generation 2016-04-25 12:12:18 +01:00
Rui Carmo 361d1e54ff Change CA init 2016-04-25 11:59:37 +01:00
Rui Carmo 2722280323 Missed shell parameter 2016-04-25 11:55:37 +01:00
Rui Carmo 40bd871a69 First pass at SSL 2016-04-25 11:50:37 +01:00
Rui Carmo bcd66e06e1 Tweak log locations 2016-04-25 10:53:13 +01:00
Rui Carmo 16642e1117 Minimal working nginx support 2016-04-25 10:47:22 +01:00
Rui Carmo 54cfe0cd49 Fix lingering typo 2016-04-25 10:35:34 +01:00
Rui Carmo 18c711e84b Refactored config cleanup 2016-04-25 10:32:49 +01:00
Rui Carmo ff52420f35 Typo 2016-04-25 10:29:50 +01:00
Rui Carmo f0500f1ad5 Create nginx.conf for app 2016-04-25 10:24:35 +01:00
Rui Carmo 1d3ad2d528 First pass at configuration 2016-04-25 10:10:07 +01:00
Rui Carmo 791c8d9cd7 ssh-keygen output format tweak
varies too much across versions.
2016-04-23 17:40:50 +01:00
Rui Carmo c77bc91d36 attempting to find a sane model for Golang 2016-04-06 23:56:49 +01:00
Rui Carmo 069e4dc20e Sorted commands 2016-04-06 22:46:32 +01:00
Rui Carmo 016ba25ad2 make sure we enable virtualenv every time 2016-04-06 11:59:42 +01:00
Rui Carmo 6ea30be3d9 respawn 2016-04-06 11:09:06 +01:00
Rui Carmo 8e3f5de69e remove redundant commands 2016-04-06 10:28:12 +01:00
Rui Carmo 8400974a98 centralized sanity checks 2016-04-06 10:09:05 +01:00
Rui Carmo 204603ee97 Update piku.py 2016-04-05 12:23:50 +01:00
Luis Correia 0a7c07ee14 Fix logic for "config" commands 2016-04-05 07:27:35 +01:00
Rui Carmo 9f0e050fa1 Use .ini to minimize startup options 2016-04-04 09:12:25 +01:00
Rui Carmo 5c256628a8 consistent error messages 2016-04-04 08:45:27 +01:00
Rui Carmo 438f806924 Fix merge 2016-04-04 00:03:01 +01:00
Luis Correia 9cb58919c1 check for this running file 2016-04-04 00:01:23 +01:00
Rui Carmo f6db59acc5 Make the Debian uwsgi-plugin-python version happy with our config files 2016-04-03 23:54:30 +01:00
Rui Carmo c9fd139f0d oops. 2016-04-03 22:43:19 +01:00
Rui Carmo 95ca8be381 typos 2016-04-03 22:40:32 +01:00
Rui Carmo ae25911d54 systemd instructions 2016-04-03 22:36:04 +01:00
Rui Carmo 9a78b6b179 typo 2016-04-03 17:43:19 +01:00
Rui Carmo 8393139e0e Cleaning up TODOs 2016-04-03 17:42:52 +01:00
Rui Carmo 86069f58cd Installation instructions and SSH key helper 2016-04-03 17:14:15 +01:00
Rui Carmo 49e51b1a8c docs, comments and readability 2016-04-03 11:35:39 +01:00
Rui Carmo fd1801298f Cleaner logic 2016-04-02 23:37:42 +01:00
Rui Carmo a6c441996d Removed stray prints 2016-04-02 22:32:36 +01:00
Rui Carmo e676cb1124 Rescale workers on the fly without restarting 2016-04-02 22:32:10 +01:00
Rui Carmo 20e41e984d Allow for comments in ENV 2016-04-02 20:13:57 +01:00
Rui Carmo a631d964b9 minor tweaks to uWSGI workers 2016-04-02 19:47:21 +01:00
Rui Carmo 9a2b25aa2c Cosmetic changes 2016-04-02 19:31:28 +01:00
Rui Carmo 39d65197d8 renamed tail 2016-04-02 19:27:45 +01:00
Rui Carmo ede0f7b43e rename ls 2016-04-02 19:26:05 +01:00
Rui Carmo 55b29d39d1 Match Heroku commands for scaling 2016-04-02 19:22:51 +01:00
Rui Carmo e6209f6c3f Fixed restart 2016-04-02 18:09:39 +01:00
Rui Carmo c08600ed0d Removed deltas 2016-04-02 17:49:19 +01:00
Rui Carmo ae3f7608d4 Prevent scaling web/wsgi above a single worker (but allow turning them off) 2016-04-02 17:46:11 +01:00
Rui Carmo 24bfb2f80a Worker scaling 2016-04-02 17:38:53 +01:00
Rui Carmo 4cd89c1d2b config:get/set/view 2016-04-02 16:46:03 +01:00
Rui Carmo ba3dae4cc0 Removed completed TODOs 2016-04-02 01:21:41 +01:00
Rui Carmo a235496658 Echo HTTP port to remote user 2016-04-02 01:11:25 +01:00
Rui Carmo cb980fd3b7 Port selection and per-app settings working. 2016-04-02 00:51:49 +01:00
Rui Carmo 897764ecc0 Procname and PWD 2016-04-02 00:29:59 +01:00
Rui Carmo f7b9cd2253 Ordinals and first time installs 2016-04-02 00:22:40 +01:00
Rui Carmo 01a9e78684 Various typos, better tail 2016-04-02 00:16:10 +01:00
Rui Carmo 476a01ce76 First attempt at multiple log tailing 2016-04-01 23:26:37 +01:00
Rui Carmo 60bac786ce Whitespace and readability 2016-04-01 22:53:08 +01:00
Rui Carmo 23dcfeaf0e Cleanups 2016-04-01 22:50:18 +01:00
Rui Carmo 9c568c2984 More .ini wrangling 2016-03-31 23:53:35 +01:00
Rui Carmo f216a0b422 Comments 2016-03-31 23:42:13 +01:00
Rui Carmo 0132e0e036 First pass at ENV handling 2016-03-31 23:39:29 +01:00
Rui Carmo 8cd68a297f First pass at managing individual workers 2016-03-31 23:26:52 +01:00
Rui Carmo 5b24d236b9 Comments 2016-03-29 23:37:00 +01:00
Rui Carmo ba0aeb71da Generic worker support 2016-03-29 23:15:16 +01:00
Rui Carmo 0920954274 comments 2016-03-29 22:23:57 +01:00