Wykres commitów

41 Commity (fac230b744d22ea3f898e750024abdd2968c4104)

Autor SHA1 Wiadomość Data
Rui Carmo 1334591027 reset file permissions 2021-12-07 09:49:50 +00:00
Rui Carmo 5ed9117655 PIKU_AUTO_RESTART now defaults to true 2021-12-07 09:29:35 +00:00
Rui Carmo 4e6187ad31 renamed internal env vars to avoid collisions 2021-12-07 09:23:34 +00:00
Rui Carmo 47669f6bf7
Merge pull request #208 from chr15m/piku-init-example-files 2021-09-23 08:35:43 +01:00
Chris McCormick ab6fb34e41 New piku init command to set up basic files. 2021-09-23 15:02:38 +08:00
Chris McCormick e9e8c7cdc1 Update postgres example README with new bootstrap. 2021-09-23 12:43:59 +08:00
Rui Carmo 3ced29b193 add focal to test suite 2021-02-27 18:15:13 +00:00
Rui Carmo 6640935140
Suggested by dependabot as security update 2020-01-21 10:21:51 +00:00
Chris McCormick 4046f9ac77 Documentation improvements. (#122) 2019-11-13 17:54:41 +00:00
Chris McCormick e7654ff930 Removing java-spark-app as per #99. (#110) 2019-10-06 19:45:25 +01:00
Rui Carmo e52cffb377 split nodejs sample into separate repo 2019-08-22 22:27:41 +01:00
Rui Carmo ea5ef420ad split django example to separate repo 2019-08-22 22:15:10 +01:00
Rui Carmo ba3fbd04fd split first python sample to separate repo 2019-08-22 22:07:34 +01:00
dependabot[bot] 0d605dbe7b Bump django from 2.1.9 to 2.1.11 in /examples/python-postgres (#87)
Bumps [django](https://github.com/django/django) from 2.1.9 to 2.1.11.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/2.1.9...2.1.11)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-12 07:17:03 +01:00
Chris McCormick 18dcad3d76 Python/Django + Postgres database example (#86)
* Remove --pi hack in favour of pi@HOST.

* Properly deploy systemd startup in bootstrap.

Fixes #71.

* piku-bootstrap using separate ansible playbooks.

* Prefer built-in playbooks in piku-bootstrap.

* Document new piku-bootstrap options.

* Doc piku-bootstrap built-in playbooks usage.

* Move 'using' doc to top.

* Typos + doc fixes in piku-bootstrap.

* Improved built-in playbook detection.

* Added node playbook.

* Documentation tweaks.

* Documentation tweaks.

* Built-in playbook for installing postgres.

* Example Python/Django + Postgres app.
2019-08-12 07:01:27 +01:00
Chris McCormick 3866de6e17 Usability + nitpick tweaks (#82)
* rm editor conf - appears to be comitted in error.

* Rename to java-spark-app to help users.
2019-08-12 06:59:02 +01:00
John Simiyu bfc4f8ce32 Java Support (#81)
* Added support for Java Deployment with Maven

* Added support for Java Deployment with Maven

* @matrixjnr/feature:java support

* @matrixjnr/feature:java support
2019-08-10 22:00:40 +01:00
dependabot[bot] 61a5648214 Bump django from 2.1.10 to 2.1.11 in /examples/python-django (#80)
Bumps [django](https://github.com/django/django) from 2.1.10 to 2.1.11.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/2.1.10...2.1.11)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-06 08:06:27 +01:00
dWiGhT a5efdf89b5 improvement: allow newlines in ENV files (#69) 2019-08-05 09:08:24 +01:00
dependabot[bot] 1b3e471342 Bump django from 2.1.9 to 2.1.10 in /examples/python-django (#57)
Bumps [django](https://github.com/django/django) from 2.1.9 to 2.1.10.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/2.1.9...2.1.10)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-09 11:16:11 +01:00
Chris McCormick 38aae8587b Added example for running wisp app. (#55) 2019-07-07 12:07:49 +01:00
Chris McCormick b5daedb5bc Move release worker to end of deploy. (#50)
* Move release worker to end of deploy.

This matches up with what other PaaS platforms do. This change also
makes the release worker inherit the environment (virtualenv etc.) from
the deploy process, making it easier to run e.g. Django manage.py
commands in the expected context without explicitly entering virtualenv
in the script.

* Update Django example to remove virtualenv.

Now that this happens automatically we don't need to explicitly enter
virtualenv in the script.

* Pass spawn env back through to release worker.

Conflicts:
	piku.py
2019-06-28 12:59:12 +01:00
Chris McCormick a4ded8c994 Nodejs example app (#52)
* Fix node deploy path handling.

This patch uses a temporary symlink to envs/APP/node_modules to force
node to install the modules into the right place even on older node
versions, like v4.2.6 which ships with Unbuntu 16.04.

Apps launching node servers will need to manually set
NODE_PATH="${VIRTUAL_ENV}/node_modules" to have it run correctly, and
in future we should consider setting this in spawn_app (though currently
spawn_app does not know what kind of app it's spawning).

* Add NODE_PATH to spawn env if node env present.

* Added nodejs websocket chat example app.
2019-06-28 12:58:36 +01:00
Chris McCormick 9c913a8d5f Example Django app deployment with Piku. (#43)
This change requires PRs #38 #39 #41 to work properly.
2019-06-23 15:50:24 +01:00
Rui Carmo be0bd232f6 added clock worker 2019-05-21 22:31:19 +01:00
Rui Carmo 3f80e00aaa confirms that #20 actually works and tests #19 2019-05-21 22:27:44 +01:00
Rui Carmo 6fe8f30aab Added more variables 2018-07-24 21:20:16 +01:00
Rui Carmo e0c37e1b17
Python 3 2018-06-14 22:19:57 +01:00
Rui Carmo 2565bcfc96
Python 3 2018-06-14 22:19:40 +01:00
Rui Carmo 550746165d sort env 2016-05-03 22:17:44 +01:00
Rui Carmo adb4e53ece nicer example 2016-05-03 20:46:19 +01:00
Rui Carmo 62a0bb749b Dump request values 2016-05-03 19:51:56 +01:00
Rui Carmo c77bc91d36 attempting to find a sane model for Golang 2016-04-06 23:56:49 +01:00
Rui Carmo 76ad6a7559 Nicer example app 2016-04-02 00:58:47 +01:00
Rui Carmo cb980fd3b7 Port selection and per-app settings working. 2016-04-02 00:51:49 +01:00
Rui Carmo ba0aeb71da Generic worker support 2016-03-29 23:15:16 +01:00
Rui Carmo b236e6ee29 Tweaks 2016-03-29 21:57:51 +01:00
Rui Carmo 03a7496f45 Tweaks 2016-03-29 21:41:03 +01:00
Rui Carmo f4e8c592d6 Fixes 2016-03-29 20:46:43 +01:00
Rui Carmo 0bb6e79f88 Graceful error handling 2016-03-29 20:38:48 +01:00
Rui Carmo 2b2f08a3d4 first pass at sample apps 2016-03-29 20:31:12 +01:00