Rui Carmo
9abbeb1f31
First pass at caching
2022-12-27 15:11:31 +00:00
Rui Carmo
16bed4c1d9
Update ENV.md
2022-12-22 17:05:14 +00:00
Rui Carmo
3b03dad886
Better explanation
2022-12-22 17:04:47 +00:00
Rui Carmo
f49ef52aa9
readability
2022-12-22 16:59:24 +00:00
Rui Carmo
9e840d7bfb
Added note on NGINX_HTTPS_ONLY
2022-12-22 16:57:59 +00:00
Rui Carmo
4229a618cf
Remove confusing and undocumented HTTPS_TRUE
2022-12-19 20:33:25 +00:00
Rui Carmo
438c90fb75
Update ENV.md
2022-12-19 20:32:00 +00:00
Rui Carmo
6b65e637ce
Merge pull request #256 from piku/no-ipv6
...
Add option for disabling IPv6
2022-12-19 20:20:34 +00:00
Rui Carmo
d10eeec189
Add doc for DISABLE_IPV6
2022-12-19 20:17:00 +00:00
Rui Carmo
45eba60f6d
Remove IPv6 configuration when DISABLE_IPV6 is set
...
This fixes running Piku in some restricted environments when IPv6 is not active, and paves the way for future auto-detection.
2022-12-19 20:14:59 +00:00
Rui Carmo
4944e0f828
Update README.md
2022-11-14 16:49:01 +00:00
LGTM Migrator
2b1ff25816
Add CodeQL workflow for GitHub code scanning
2022-11-10 15:29:14 +00:00
axelbdt
b3f466ada9
Update INSTALL.md
2022-11-10 15:52:39 +01:00
Chris McCormick
283d39e87e
Merge pull request #247 from clusterfudge/issues/236
...
issues/236 -- address DeprecationWarning in `click`
2022-10-26 14:32:53 +08:00
Sean Fitzgerald
6b949591f9
Merge branch 'master' into issues/236
2022-10-17 08:23:07 -07:00
Chris McCormick
958df2685d
Merge pull request #253 from chr15m/fix-trailing-whitespace
...
Fix trailing whitespace.
2022-10-17 09:37:21 +08:00
Chris McCormick
c7af8b2e17
Fix trailing whitespace.
2022-10-17 09:32:17 +08:00
Sean Fitzgerald
340f90b0c0
we allow long lines
...
so why fight with short line indenting?
2022-10-15 19:59:17 -07:00
Sean Fitzgerald
6b9175e390
flake8 failures
2022-10-15 16:12:56 -07:00
Sean Fitzgerald
b0478df36a
Pass default=None to getattr
2022-10-15 16:08:43 -07:00
Sean Fitzgerald
88b7745a9e
Try in a backwards-compatible manner
2022-10-15 11:25:26 -07:00
Chris McCormick
eb28c88dd4
Merge pull request #251 from ewalk153/ew-ruby-use-virtualenv-dir
...
Add bundle command use to VIRTUAL_ENV path
2022-10-11 10:55:23 +08:00
Rui Carmo
de6528a339
updated docs to match new systemd files, also closes #250
2022-10-03 09:31:17 +01:00
Eric Walker
08b5ed2d16
Add bundle command use to VIRTUAL_ENV path
...
A bundler install may attempt to a path that requires sudoer privileges.
Per https://bundler.io/man/bundle-config.1.html#REMEMBERING-OPTIONS ,
`bundle config set --local path` is the preferred way to set a gem path
per project.
2022-10-02 22:39:00 -04:00
Rui Carmo
a7c6d9b408
Create CONTRIBUTING.md
2022-09-12 19:41:56 +01:00
Rui Carmo
2e1dcf1ff8
Update README.md
2022-09-12 19:33:05 +01:00
Rui Carmo
eefe5b10c3
Merge pull request #239 from chr15m/fix-update-command
...
Fix update command in piku cli script
2022-09-12 19:25:23 +01:00
Sean Fitzgerald
f7ecfee8f7
issues/236 -- address DeprecationWarning in `click`
...
In [`click==8.0.0`](https://click.palletsprojects.com/en/8.0.x/changes/#version-8-0-0 ), `MultiCommand.resultcallback` is renamed to `result_callback`, along with a deprecation warning. This change adopts the new naming convention.
2022-07-11 09:05:05 -07:00
Rui Carmo
edef1476fe
Merge pull request #240 from chr15m/fix-broken-acme-call
...
Fix broken acme call
2022-05-12 10:01:20 +01:00
Chris McCormick
0b4eba50d7
Fix ValueError from acme cert issuance.
2022-05-12 09:11:32 +08:00
Chris McCormick
424df1689a
Merge branch 'master' of github.com:piku/piku
2022-04-26 10:19:22 +08:00
Chris McCormick
a9cbcf3b80
Don't supply app to update command.
2022-04-26 10:19:07 +08:00
Rui Carmo
cfff5a889a
Merge pull request #238 from chr15m/add-gzip-compression-types
...
Add more standard types to gzip compression.
2022-04-16 09:13:47 +01:00
Chris McCormick
76f6d90983
Add more standard types to gzip compression.
...
I noticed JS files weren't being sent back compressed by my Piku box because the application/javascript type was missing from the gzip clause. Also added image/svg+xml and application/json for good measure.
2022-04-16 13:30:16 +08:00
Rui Carmo
38e1876856
Merge pull request #230 from chr15m/fix-npm-symlink-issue
...
Stop npm complaining about the node_modules symlink.
2022-04-02 21:32:34 +01:00
Rui Carmo
e4b2265802
Merge pull request #231 from mlainez/default_root_ca
...
Use letsencrypt by default and allow to change root ca with environme…
2022-04-02 21:32:03 +01:00
Rui Carmo
92b9af3904
[noci] README
2022-04-02 21:30:09 +01:00
Rui Carmo
00a7f11c5f
Merge pull request #232 from mlainez/rails_support
...
Improve Ruby on Rails support
2022-04-02 21:25:58 +01:00
Rui Carmo
619f8b4093
Merge pull request #235 from timhuebener/master
...
refactor: replace incron with systemd.path
2022-04-02 21:22:15 +01:00
Tim Huebener
2a6a8b7de6
refactor: replace incron with systemd.path
2022-04-02 15:51:28 +02:00
mlainez
bfdfcd8c2f
Add ACME_ROOT_CA documentation
2022-03-07 10:01:28 +01:00
mlainez
d71a5be125
Rename ROOT_CA environment variable to ACME_ROOT_CA
2022-03-07 10:01:13 +01:00
mlainez
5c1a4ce4b5
Make sure ruby apps are also exposed behind nginx
2022-03-06 14:16:17 +01:00
mlainez
f9a55d6c51
Simplify app building since bundle clean could damage other Rails apps that use gem versions marked obsolete for another Rails app when not using local gemsets
2022-03-06 14:12:53 +01:00
mlainez
610921280c
Change app detection order to avoid Rails apps using webpacker are detected as nodejs apps first (mostly Rails 6.0)
2022-03-06 14:05:37 +01:00
mlainez
bfec7c2d94
Use letsencrypt by default and allow to change root ca with environment variable
2022-03-06 13:47:45 +01:00
Chris McCormick
2f248d0852
Stop npm complaining about the node_modules symlink.
...
This fixes #228 whilst retaining the existing behaviour of symlinking node_modules to the actual location in envs/APPNAME.
2022-02-25 14:34:31 +08:00
Rui Carmo
547d3b3dae
Removed 3.10.1 from test suite
...
Oh come on GitHub... It worked months ago!
2022-02-05 15:45:59 +00:00
Rui Carmo
bb8726afdf
Remove 3.5 from test suite
...
It was deprecated by the build suite.
2022-02-05 15:39:15 +00:00
Rui Carmo
569cfeda90
Merge pull request #224 from chr15m/update-git-push-docs
...
Updated docs with cmd to push different branch. Fixes #221
2022-02-05 15:37:33 +00:00