Difference between revisions of "Web/Cloud"
(→OpenShift: moved repo to BitBucket) |
|||
(10 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
{| class="wikitable" |
{| class="wikitable" |
||
− | ! License: |
||
− | | GPL3 |
||
− | |- |
||
! GHC version: |
! GHC version: |
||
− | | 7.6.3 |
+ | | 7.6.3 / 7.8.2 |
|- |
|- |
||
! Author: |
! Author: |
||
Line 17: | Line 14: | ||
|- |
|- |
||
! Home page: |
! Home page: |
||
− | | |
+ | | http://code.accursoft.com/haskell-cloud/ |
|- |
|- |
||
! Documentation: |
! Documentation: |
||
− | | |
+ | | http://code.accursoft.com/haskell-cloud/src/tip/README.md |
|} |
|} |
||
− | The cartridge |
+ | The cartridge comes in several flavours, with just the network package (GHC 7.8.2) or a pre-installed framework (GHC 7.6.3 *): |
{| class="wikitable" |
{| class="wikitable" |
||
− | ! |
+ | ! Framework || Cartridge || QuickStart || Deploy || QuickStart Template |
|- |
|- |
||
| network |
| network |
||
− | | [ |
+ | | [http://www.accursoft.com/cartridges/network.yml manifest] |
+ | | [https://www.openshift.com/quickstarts/haskell quickstart] |
||
− | | [https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D= |
+ | | [https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D=http%3A%2F%2Fwww.accursoft.com%2Fcartridges%2Fnetwork.yml deploy] |
+ | | ✓ |
||
|- |
|- |
||
+ | | Yesod |
||
− | | yesod-platform esqueleto happy |
||
− | | [ |
+ | | [http://www.accursoft.com/cartridges/yesod.yml manifest] |
+ | | [https://www.openshift.com/quickstarts/yesod quickstart] |
||
− | | [https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D= |
+ | | [https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D=http%3A%2F%2Fwww.accursoft.com%2Fcartridges%2Fyesod.yml deploy] |
+ | | ✓ |
||
|- |
|- |
||
− | | |
+ | | Snap |
− | | [ |
+ | | [http://www.accursoft.com/cartridges/snap.yml manifest] |
+ | | [https://www.openshift.com/quickstarts/snap quickstart] |
||
− | | [https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D= |
+ | | [https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D=http%3A%2F%2Fwww.accursoft.com%2Fcartridges%2Fsnap.yml deploy] |
+ | | ✗ |
||
|- |
|- |
||
+ | | Happstack |
||
− | | happstack-foundation hsx2x happy |
||
− | | [ |
+ | | [http://www.accursoft.com/cartridges/happstack.yml manifest] |
+ | | [https://www.openshift.com/quickstarts/happstack quickstart] |
||
− | | [https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D= |
+ | | [https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D=http%3A%2F%2Fwww.accursoft.com%2Fcartridges%2Fhappstack.yml deploy] |
+ | | ✗ |
||
|- |
|- |
||
| MFlow |
| MFlow |
||
− | | [ |
+ | | [http://www.accursoft.com/cartridges/mflow.yml manifest] |
+ | | [https://www.openshift.com/quickstarts/mflow quickstart] |
||
− | | [https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D= |
+ | | [https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D=http%3A%2F%2Fwww.accursoft.com%2Fcartridges%2Fmflow.yml deploy] |
+ | | ✗ |
||
|- |
|- |
||
| Scotty |
| Scotty |
||
− | | [ |
+ | | [http://www.accursoft.com/cartridges/scotty.yml manifest] |
+ | | [https://www.openshift.com/quickstarts/scotty quickstart] |
||
− | | [https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D= |
+ | | [https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D=http%3A%2F%2Fwww.accursoft.com%2Fcartridges%2Fscotty.yml deploy] |
+ | | ✗ |
||
|} |
|} |
||
+ | |||
+ | <small>* GHC 7.8 requires dynamic libraries for Template Haskell and Quasiquoting. OpenShift gears default to a 1Gb quota, which is insufficient for a full web framework with two copies (dynamic and static) of every library.</small> |
||
+ | |||
+ | Frameworks that don't have their own quickstart template use the network template (also included in every cartridge). I'll be happy to include any contributed framework-specific templates - please open an [http://code.accursoft.com/haskell-cloud/issues/new issue] with a link to your Github repo. |
||
== Heroku == |
== Heroku == |
||
Line 73: | Line 86: | ||
* [http://docs.dotcloud.com/services/custom/ dotCloud] |
* [http://docs.dotcloud.com/services/custom/ dotCloud] |
||
* [https://www.stormcloudsystems.com/ Storm Cloud Systems] |
* [https://www.stormcloudsystems.com/ Storm Cloud Systems] |
||
+ | * [https://www.fpcomplete.com/ FP Haskell Center] |
Revision as of 13:23, 10 June 2014
PaaS (platform as a service) cloud providers generally limit you to a fixed technology stack. However, OpenShift and Heroku allow third-party extensions, which can be used to support Haskell.
OpenShift
GHC version: | 7.6.3 / 7.8.2 |
---|---|
Author: | Gideon Sireling |
Home page: | http://code.accursoft.com/haskell-cloud/ |
Documentation: | http://code.accursoft.com/haskell-cloud/src/tip/README.md |
The cartridge comes in several flavours, with just the network package (GHC 7.8.2) or a pre-installed framework (GHC 7.6.3 *):
Framework | Cartridge | QuickStart | Deploy | QuickStart Template |
---|---|---|---|---|
network | manifest | quickstart | deploy | ✓ |
Yesod | manifest | quickstart | deploy | ✓ |
Snap | manifest | quickstart | deploy | ✗ |
Happstack | manifest | quickstart | deploy | ✗ |
MFlow | manifest | quickstart | deploy | ✗ |
Scotty | manifest | quickstart | deploy | ✗ |
* GHC 7.8 requires dynamic libraries for Template Haskell and Quasiquoting. OpenShift gears default to a 1Gb quota, which is insufficient for a full web framework with two copies (dynamic and static) of every library.
Frameworks that don't have their own quickstart template use the network template (also included in every cartridge). I'll be happy to include any contributed framework-specific templates - please open an issue with a link to your Github repo.
Heroku
GHC version: | 7.4.1 |
---|---|
Author: | Brian McKenna |
Home page: | https://github.com/puffnfresh/heroku-buildpack-haskell |
Documentation: | https://github.com/puffnfresh/heroku-buildpack-haskell/blob/master/README.md |