ruby - Deploying Rails application to cloud foundry like server -
I am trying to install Ruby on Rail application on anynines.com server which is based on cloud foundry. Here's a sample app: which I've successfully deployed when I tried to install a 'Hello World' app, which worked locally with Built-In Server ('Rail Server' command) I had failed (errors were later told). At this point, I should give you some information about the development environment: Ruby v. 1.9.3 Rail vs. 4.1.1. Develop on a Windows machine.
Then I tried to start from scratch and created a new default application with "Rail New Distance", in which you have been shown that the "Welcome to Screen" screen is shown. Then I created a manifest.yml file like this:
Then I completed the "CF push" command. Files uploaded, builder participated, and finally console-prompts ----- & gt; Droplet upload (34m) but after that there was only one thing: <1 p> As long as its time does not expire, the logfile says that it is: I was googling for hours to solve this issue, but I did not find the thing I tried to completely delete the SQL information I also sampled for mysql According to the project changed database.yml and Gemfile and am using a MySQL service within the server. Another generated 'default' app working for me, of course, I could only take samples as a base, but I want to know what I'm doing by starting from scratch. Please tell me the secret, many thanks in advance. PS: This is what 'CF app deploytest' indicates: cf push -b ' This requires a buildpack in Manifest.yml, Code> buildpack: / div> Application: - Name: deploytest memory: 512 m Example: 1 host: deploytest domain: de.a9sapp.eu Path:.
1 example running in 1, 1 of 1 is going to run, out of 1 Running 1 is 1 example, 1 example below 1 is running, 1 example running below 1 to 1, running 1 to 1 example below 1, below 1
2014-07-24T22: 51: 20.73 + 0200 [DEA] that ID 89eb57a 4-f602- Due to the application with 4809-9255-c9dd5944a4c1 Extracting Tough 2014-07-24T22: 51: 20.73 + 0200 [DEA] Excluding Application Example (Index 0) GUID 89eb57a4-f602-4809-9255-c9dd5944a4c1 with 2014-07-24T22: 51: 20.73 + 0200 [DEA] Started application instance (index 0) with GUID 89eb57a4-f602-4809-9255-c9dd5944a4c1 2014-07-24T22: 51: 55.05 + 0200 [DEA] Start App instance (index 0) GUID 89eb57a4-f602-4809- 9255-c9dd5944a4c1 2014-07-24T22 with: 51: 58.80 + 0200 [API] Exited with GUID 89eb57a4-f602-4809-9255-c9dd5944a4c1 payload Application Example: {"cc_partition" => "Default", "droplet" = & gt; "89eb57a4-f602-4809- 9255-c9dd5944a4c1", "version" => "23663797-8b42-44e7-8913-439f1a0553bd", "example" => "69928ad0f7b54a4aae4ca70f14532d1", "index" = & gt; 0, "Causes" = & gt; "Crashing", "exit_status" = & gt; 127, "exit_description" = & gt; "Exited the appinstance", "crash_timestamp" = & gt; +1406235118}
requested state: initial example: 0/1 usage: 512m x 1 Instance URL: deploytest.de.a9sapp.eu status since the CDI memory disk 2014-07-24 11:26:10 PM 0.0% 0 0 0k 0
Comments
Post a Comment