cloud-gov / cf-hello-worlds Goto Github PK
View Code? Open in Web Editor NEWHello World apps for Cloud Foundry
License: Other
Hello World apps for Cloud Foundry
License: Other
The cf-hello-worlds repository is less accessible for newbs than it could be since there’s inconsistent indication of the language in use for each of the subdirectories. The language would likely be more relevant, meaningful, and communicative than the framework names... Even as something of a polyglot, I have no idea what languages padrino, sinatra, and flask refer to. So maybe the subdirectories could be renamed in the form $LANG[-$FRAMEWORK]
?
@NoahKunin reported that the Flask, Meteor, and Sinatra examples may not be complete/working.
In the README.md doc, under Usage / step 4, the target should be changed from sandbox
to something agency specific, like sandbox-gsa
.
In the README there's a broken link to the Quickstart guide:
For cloud.gov, follow the quickstart guide for a guided tour, or follow the USAGE below.
Is there somewhere new this could point?
We should remove snyk.io integration in favour of @dependabot.
% cf push hello-world-python-flask --random-route
[...]
Starting app hello-world-python-flask in org trial / space I831870 as i831870...
Creating container
Successfully created container
Downloading app package...
Downloaded app package (839B)
Staging...
-------> Buildpack version 1.5.18
-----> Installing python-2.7.13
/usr/lib/ruby/2.3.0/uri/rfc3986_parser.rb:67:in split': bad URI(is not URI?): https://lang-python.s3.amazonaws.com//runtimes/python-2.7.13.tar.gz (URI::InvalidURIError) from /usr/lib/ruby/2.3.0/uri/rfc3986_parser.rb:73:in
parse'
from /usr/lib/ruby/2.3.0/uri/common.rb:227:in parse' from /usr/lib/ruby/2.3.0/uri/common.rb:714:in
URI'
from /tmp/buildpack/compile-extensions/lib/uri_translator.rb:30:in filter_uri' from /tmp/buildpack/compile-extensions/lib/uri_translator.rb:15:in
translate'
from /tmp/buildpack/compile-extensions/bin/download_dependency:15:in `
FAILED
Error restarting application: BuildpackCompileFailed
I looked here: http://lang-python.s3.amazonaws.com/ and it appears that at staging it is trying to download the python-2.7.13 runtime which does not exist at the URL. According to what I see on Amazon AWS it wants either "cedar-14" or "heroku-16" in the URL, but as you can see that section of the URL is blank (there are two slashes in a row // on the URL where cedar-14 or heroku-16 should be). Maybe a buildpack problem? Is there more information that is needed in the manifest.mf or other properties file to give the buildpack the information it needs to generate the URL to the runtime?
Hello,
It's my first time using cf. On your README.md,
https://APPNAME.apps.cloud.gov/
didn't work but
https://APPNAME.app.cloud.gov/
worked.
CI would be a great place to demonstrate CI/CD for new users, and also ensure that are apps are deployable.
Maybe using Play?
Just discovered https://github.com/cloudfoundry-samples, via #21 (comment).
I'm getting:
FAILED
Domain 18f.gov not found
When trying to deploy the meteor hello world example provided in this repo. Looks like the domain my account is part of is "apps.cloud.gov", and changing the domain in manifest.yml to that allows me to properly deploy the example.
Should manifest.yml be updated in this example to include this domain?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.