* Clojure Support
Conflicts:
piku.py
* Tweaks to get Clojure deploy working.
* Allows user to install lein binary into ~/bin
* Simplifies Clojure re-build sequence
* Bootstrap playbooks for lein + Java.
This PR modifies Piku such that if the user has a `web` and a `release`
worker defined it will allow the deploy to continue. This is useful in
cases where the user wants to run some binary server.
An example is the gitea deploy. Without this change it needs a
superfluous requirements.txt file exists before it will deploy. If/when
this is merged I'll update the deploy-gitea repo to remove that
superfluous file.
Another fun thing this would allow is tiny web services written with
bash/netcat etc.
* Enable gh-pages style static site deployment.
As per #42 this PR allows the user to do static site deployments using
Piku which work very similarly to gh-pages. In the Procfile the user
defines a worker called 'static' with the path to the root of the files
to be served. An example app can be found here:
https://github.com/chr15m/piku-static-site
* Documentation.
This commit adds a small change to the `piku` script to pass through SSH
command flags, and documentation explaining how to use this to obtain a
remote shell on the piku server inside a running app folder.
* Added support for Java Deployment with Maven
* Added support for Java Deployment with Maven
* @matrixjnr/feature:java support
* @matrixjnr/feature:java support
* Refactor common config out of nginx templates.
* A way to inject custom nginx directives.
Setting the ENV variable `NGINX_INCLUDE_FILE` allows the user to specify a
file, relative to the app folder, which will be inserted into the nginx
server config.
This is useful for e.g. overriding a variable. For example to allow
uploads larger than 1Mb the user could create a file called `nginx.conf`
in their app repo containing: `client_max_body_size 8M;` and then set
`NGINX_INCLUDE_FILE=nginx.conf` in the ENV file.
This builds on #77 so that should be merged first.
This patch changes piku to check the installed node version and leave it
if correct.
It also separates the nodeenv install and the npm install steps.
It will also warn the user if they try to change the node version in a
running app, and tells them to stop and then deploy the app again in
order to update the node version.
Fixes#70.
This fix allows you to usefully pipe things from the output of 'piku run' into other scripts.
For example you might pipe a request log into goaccess for analysis.
* Updated README with first-timers in mind.
This patch adds information about how to use the script. It also
re-orders the information in the README so that the most pertinent
information for somebody using it for the first time is at the top.
* Logo proposition.
* Possibly punchier tag line.
* Tagline spacing tweak.
* README fixes.
* Added a note about the examples folder.
* Incorporated @dwightmulcahy suggestion.
* Fix node path insert to not clobber env.
* Tighter check on python venv for uwsgi conf.
* Install NODE_VERSION if nodeenv on PATH.
* Document NODE_VERSION setting.