Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added AppFog installation instructions #88

Merged
merged 1 commit into from
Feb 14, 2013

Conversation

skypanther
Copy link
Contributor

No description provided.

fusion94 added a commit that referenced this pull request Feb 14, 2013
Added AppFog installation instructions
@fusion94 fusion94 merged commit 8a0c6f6 into kandanapp:master Feb 14, 2013
@fusion94
Copy link
Member

@skypanther thanks mate...

@skypanther
Copy link
Contributor Author

@elitegunslinger where are you hitting that problem, which step? Try deleting the manifest.yml file and the af push command again. Or, modify manifest.yml and run the af update command instead.

@elitegunslinger
Copy link

@skypanther the error occurs after the: "Manifest written to manifest.yml." rather than the Error 300 it tells me: "Error: Application 'whatever' already exists, use update." Just wondering but on line 74 "--runtime ruby19" does that need to specify the version of ruby i.e. 193? Line 84 do you need to input the full URL or just the app name? And when you mention deleting the space in the manifest description: Rails Application; which space are you specifying?

Just to verify on AppFog I create the rails server and db first then go through your instructions, correct?

@skypanther
Copy link
Contributor Author

Line 74: --runtime ruby19 worked for me, even though I'm using 1.9.3 (locally and on appfog)
Line 84: I don't recall, but I think I used just the app name
Deleting the space: for me, in the manifest.yml, the app description was 'Rails Application' (with a space between words). Removing that space and then issuing the update command was what got me working

@elitegunslinger
Copy link

@skypanther I'll keep playing with it but after removing the space and using update I get: Error 306: Error retrieving file '/logs/staging.log' which went away after another update attempt but now all I'm getting is a 404 error when the server is up.

http://pastie.org/6221355

@fusion94
Copy link
Member

@elitegunslinger are you running from Master or pulling from the tagged 1.0 release?

@elitegunslinger
Copy link

Running from Master.
On Feb 20, 2013 10:21 PM, "Tony Guntharp" notifications@github.com wrote:

@elitegunslinger https://github.com/elitegunslinger are you running
from Master or pulling from the tagged 1.0 release?


Reply to this email directly or view it on GitHubhttps://github.com//pull/88#issuecomment-13870862.

@sethgho
Copy link

sethgho commented Mar 5, 2013

@elitegunslinger I ran into the same issue as you. I'm getting a 404 with exactly the same warning as your pastie link in my logs. Have you had any luck with this?

@fusion94
Copy link
Member

fusion94 commented Mar 5, 2013

@elitegunslinger @sethgho

We try and keep the MASTER branch of the Kandan code clean and usable but it is bleeding edge and can cause unpredictable results.

If you need a version of Kandan that's both tested & stable then please make sure you're installing from the lastest tagged version of the code.

git clone git@github.com/kandanapp/kandan.git
cd kandan
git tag -l
git checkout <tag_name>

Currently the latest released version is 1.1

@sethgho
Copy link

sethgho commented Mar 5, 2013

@fusion94 Thanks. I did try master at first, but when I ran into some problems I didn't understand, I switched to the v1.1 tag, which is what I'm working with right now.

@fusion94
Copy link
Member

fusion94 commented Mar 5, 2013

ok so @skypanther is re-installing on appfog today.

I'll let him chime in here.

@skypanther
Copy link
Contributor Author

I'm having a bitch of a time with AppFog. I had Kandan v1.0 running fine. But v1.1 won't install. But I think the issues are AppFog's. Though I have found a couple of missing steps in the install docs. I build & upload the app but then AF ends up in a limbo state -- the command line tools can't start the app and say "Error: Application 'skypantherchat's state is undetermined, not enough information available." I get a 404 visiting the public site in that state. The console shows the app running, but the command line tools show it not running.

Looking at the Kandan install docs, after the bundle install command, you have to do this command:

bundle exec rake db:create db:migrate kandan:bootstrap assets:precompile

Then do the af push command that's shown. Beyond that, I haven't found the magic missing step to get this working.

@abrad45
Copy link

abrad45 commented Jun 2, 2013

My installation looked a bit different today. I'm not sure what's changed on their end, but it seems like the af push command's parameters have been ignored, and I now need to specify a Start Command: which is fine, except I don't know what to type. See here:
screen shot 2013-06-02 at 9 13 59 am

Their documentation seems to say I need to simply type ruby filename.rb but I'm not sure which one to use. Any suggestions?

ar7em pushed a commit to ar7em/kandan that referenced this pull request Jun 9, 2013
Added AppFog installation instructions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants