Difference between revisions of "Web/Cloud"
< Web
Jump to navigation
Jump to search
(→OpenShift: out of memory error due to cabal bug) |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
[http://en.wikipedia.org/wiki/Platform_as_a_service PaaS] (platform as a service) cloud providers generally limit you to a fixed technology stack. However, [https://www.openshift.com/developers/download-cartridges OpenShift] and [https://devcenter.heroku.com/articles/buildpacks Heroku] allow third-party extensions, which can be used to support Haskell. |
[http://en.wikipedia.org/wiki/Platform_as_a_service PaaS] (platform as a service) cloud providers generally limit you to a fixed technology stack. However, [https://www.openshift.com/developers/download-cartridges OpenShift] and [https://devcenter.heroku.com/articles/buildpacks Heroku] allow third-party extensions, which can be used to support Haskell. |
||
− | == |
+ | == DigitalOcean == |
+ | [https://www.digitalocean.com/ DigitalOcean] gives you a clean server that you can SSH to. Supports Docker as well. |
||
⚫ | |||
+ | |||
+ | == OpenShift == |
||
{| class="wikitable" |
{| class="wikitable" |
||
Line 16: | Line 18: | ||
|- |
|- |
||
! Home page: |
! Home page: |
||
− | | |
+ | | https://bitbucket.org/accursoft/haskell-cloud/ |
|- |
|- |
||
! Documentation: |
! Documentation: |
||
− | | |
+ | | https://bitbucket.org/accursoft/haskell-cloud/src/tip/README.md |
|} |
|} |
||
Line 25: | Line 27: | ||
{| class="wikitable" |
{| class="wikitable" |
||
− | ! Framework || Cartridge || QuickStart || Deploy |
+ | ! Framework || Cartridge || QuickStart || Deploy |
|- |
|- |
||
| network |
| network |
||
Line 31: | Line 33: | ||
| [https://www.openshift.com/quickstarts/haskell quickstart] |
| [https://www.openshift.com/quickstarts/haskell quickstart] |
||
| [https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D=http%3A%2F%2Fwww.accursoft.com%2Fcartridges%2Fnetwork.yml deploy] |
| [https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D=http%3A%2F%2Fwww.accursoft.com%2Fcartridges%2Fnetwork.yml deploy] |
||
− | | ✓ |
||
|- |
|- |
||
| Yesod |
| Yesod |
||
Line 37: | Line 38: | ||
| [https://www.openshift.com/quickstarts/yesod quickstart] |
| [https://www.openshift.com/quickstarts/yesod quickstart] |
||
| [https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D=http%3A%2F%2Fwww.accursoft.com%2Fcartridges%2Fyesod.yml deploy] |
| [https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D=http%3A%2F%2Fwww.accursoft.com%2Fcartridges%2Fyesod.yml deploy] |
||
− | | ✓ |
||
|- |
|- |
||
| Snap |
| Snap |
||
Line 43: | Line 43: | ||
| [https://www.openshift.com/quickstarts/snap quickstart] |
| [https://www.openshift.com/quickstarts/snap quickstart] |
||
| [https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D=http%3A%2F%2Fwww.accursoft.com%2Fcartridges%2Fsnap.yml deploy] |
| [https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D=http%3A%2F%2Fwww.accursoft.com%2Fcartridges%2Fsnap.yml deploy] |
||
− | | ✗ |
||
|- |
|- |
||
| Happstack |
| Happstack |
||
Line 49: | Line 48: | ||
| [https://www.openshift.com/quickstarts/happstack quickstart] |
| [https://www.openshift.com/quickstarts/happstack quickstart] |
||
| [https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D=http%3A%2F%2Fwww.accursoft.com%2Fcartridges%2Fhappstack.yml deploy] |
| [https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D=http%3A%2F%2Fwww.accursoft.com%2Fcartridges%2Fhappstack.yml deploy] |
||
− | | ✗ |
||
|- |
|- |
||
| MFlow |
| MFlow |
||
Line 55: | Line 53: | ||
| [https://www.openshift.com/quickstarts/mflow quickstart] |
| [https://www.openshift.com/quickstarts/mflow quickstart] |
||
| [https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D=http%3A%2F%2Fwww.accursoft.com%2Fcartridges%2Fmflow.yml deploy] |
| [https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D=http%3A%2F%2Fwww.accursoft.com%2Fcartridges%2Fmflow.yml deploy] |
||
− | | ✗ |
||
|- |
|- |
||
| Scotty |
| Scotty |
||
Line 61: | Line 58: | ||
| [https://www.openshift.com/quickstarts/scotty quickstart] |
| [https://www.openshift.com/quickstarts/scotty quickstart] |
||
| [https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D=http%3A%2F%2Fwww.accursoft.com%2Fcartridges%2Fscotty.yml deploy] |
| [https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D=http%3A%2F%2Fwww.accursoft.com%2Fcartridges%2Fscotty.yml deploy] |
||
− | | ✗ |
||
|} |
|} |
||
⚫ | |||
− | 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/issue] with a link to your Github repo. |
||
== Heroku == |
== Heroku == |
||
Line 102: | Line 98: | ||
== See also == |
== See also == |
||
− | * [http://docs.dotcloud.com/services/custom/ dotCloud] |
||
− | * [https://www.stormcloudsystems.com/ Storm Cloud Systems] |
||
* [https://www.fpcomplete.com/ FP Haskell Center] |
* [https://www.fpcomplete.com/ FP Haskell Center] |
Revision as of 09:25, 13 September 2015
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.
DigitalOcean
DigitalOcean gives you a clean server that you can SSH to. Supports Docker as well.
OpenShift
GHC version: | 7.8.4 |
---|---|
Author: | Gideon Sireling |
Home page: | https://bitbucket.org/accursoft/haskell-cloud/ |
Documentation: | https://bitbucket.org/accursoft/haskell-cloud/src/tip/README.md |
The cartridge comes in several flavours, with just the network and text packages or a pre-installed framework:
Framework | Cartridge | QuickStart | Deploy |
---|---|---|---|
network | manifest | quickstart | deploy |
Yesod | manifest | quickstart | deploy |
Snap | manifest | quickstart | deploy |
Happstack | manifest | quickstart | deploy |
MFlow | manifest | quickstart | deploy |
Scotty | manifest | quickstart | deploy |
cabal update
is likely to exceed the memory limit on small (free) gears due to cabal issue #2396.
Heroku
GHC version: | 7.8.2 |
---|---|
Author: | Joe Nelson |
Home page: | https://github.com/begriffs/heroku-buildpack-ghc |
Documentation: | https://github.com/begriffs/heroku-buildpack-ghc/blob/master/README.md |
Heroku-Haste
GHC version: | 7.4.1 |
---|---|
Author: | Alberto G. Corona |
Home page: | https://github.com/agocorona/heroku-buildpack-haste |
Documentation: | https://github.com/agocorona/heroku-buildpack-haste/blob/master/README.md |
Heroku buildpack for tryhplay, incorporating Haste and HPlayground. Demo at http://tryplayg.herokuapp.com/.