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

Add Deployment Instructions for IBM's PaaS Bluemix #2383

Closed
wants to merge 4 commits into
base: master
from

Conversation

Projects
None yet
6 participants
@kauffecup

kauffecup commented Jul 27, 2016

Description

Add's instructions to Deploy this app to IBM's PaaS, Bluemix.

  • Add's Deploy to Bluemix Button next to other deploy buttons
  • Add's manifest.yml and .cfignore files necessary for deployment
  • Adds proposed Wiki Page

NOTE: I added Bluemix.md (preview here) as a proposed Wiki page. If all looks good, I will remove this file from the PR and add the wiki page. I wanted the instructions to be a part of the discussion so I have them here temporarily

Motivation and Context

Bluemix is IBM's PaaS and its free tier has 24 hours of uptime instead of Heroku's which makes your dynos "sleep" at night in the free tier. Makes for a better 24/7 pokemon training experience. oh boy!

How Has This Been Tested?

Only adds documentation and yml file for Bluemix. Tested multiple deployments. All works!

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
@andrewda

This comment has been minimized.

Show comment
Hide comment
@andrewda

andrewda Jul 28, 2016

Contributor

BluemixDeploy.md would probably fit better on the Wiki.

Contributor

andrewda commented Jul 28, 2016

BluemixDeploy.md would probably fit better on the Wiki.

@kauffecup

This comment has been minimized.

Show comment
Hide comment
@kauffecup

kauffecup Jul 28, 2016

I figured 😄

I didn't want to make it a wiki page before this was approved, I tried to make it clear in my description so sorry about that (wasn't sure the best way to go about that)

I was thinkin if you're cool with merging this in, that I would remove the .md file and put the contents of it as it a wiki page. Want me to do that now?

kauffecup commented Jul 28, 2016

I figured 😄

I didn't want to make it a wiki page before this was approved, I tried to make it clear in my description so sorry about that (wasn't sure the best way to go about that)

I was thinkin if you're cool with merging this in, that I would remove the .md file and put the contents of it as it a wiki page. Want me to do that now?

@andrewda

This comment has been minimized.

Show comment
Hide comment
@andrewda

andrewda Jul 28, 2016

Contributor

@kauffecup completely missed that in your description, my bad! I'll test it out, but looks good!

Contributor

andrewda commented Jul 28, 2016

@kauffecup completely missed that in your description, my bad! I'll test it out, but looks good!

@kauffecup

This comment has been minimized.

Show comment
Hide comment
@kauffecup

kauffecup Jul 28, 2016

no worries! just let me know when you want me to do the .md --> wiki swap!

kauffecup commented Jul 28, 2016

no worries! just let me know when you want me to do the .md --> wiki swap!

@JonahAragon

This comment has been minimized.

Show comment
Hide comment
@JonahAragon

JonahAragon Jul 28, 2016

@kauffecup the Wiki is actually at its own separate repo now for the sole purpose of Pull Requests to approve new Wiki pages, at JonahAragon/PoGoMapWiki.

You can also look over this wiki page which details instructions on adding new pages, but the one you're adding looks well formatted so you should be fine just adding it in :)

I'll approve it whenever you submit a PR over there.

Edit: This repo wiki, btw if this wasn't clear, will be closed soon since we're moving it completely over there (as it's a GitHub Pages site: https://www.jonaharagon.com/PoGoMapWiki/)

JonahAragon commented Jul 28, 2016

@kauffecup the Wiki is actually at its own separate repo now for the sole purpose of Pull Requests to approve new Wiki pages, at JonahAragon/PoGoMapWiki.

You can also look over this wiki page which details instructions on adding new pages, but the one you're adding looks well formatted so you should be fine just adding it in :)

I'll approve it whenever you submit a PR over there.

Edit: This repo wiki, btw if this wasn't clear, will be closed soon since we're moving it completely over there (as it's a GitHub Pages site: https://www.jonaharagon.com/PoGoMapWiki/)

@kauffecup

This comment has been minimized.

Show comment
Hide comment
@kauffecup

kauffecup Jul 28, 2016

I removed the .md file from this PR and moved it to https://github.com/JonahAragon/PoGoMapWiki/pull/6

kauffecup commented Jul 28, 2016

I removed the .md file from this PR and moved it to https://github.com/JonahAragon/PoGoMapWiki/pull/6

@mwehnert

This comment has been minimized.

Show comment
Hide comment
@mwehnert

mwehnert Jul 31, 2016

Cheers and thanks big time! Great instruction!

mwehnert commented Jul 31, 2016

Cheers and thanks big time! Great instruction!

@HighKo

This comment has been minimized.

Show comment
Hide comment
@HighKo

HighKo Aug 2, 2016

Great instructions. I have one instance running flawlessly. I would love to add additional searchers, but the "command:" parameter in the manifest does not allow multiple "python runserver.py" calls. Calling a shell script with multiple commands does not work either.

HighKo commented Aug 2, 2016

Great instructions. I have one instance running flawlessly. I would love to add additional searchers, but the "command:" parameter in the manifest does not allow multiple "python runserver.py" calls. Calling a shell script with multiple commands does not work either.

@kauffecup

This comment has been minimized.

Show comment
Hide comment
@kauffecup

kauffecup Aug 2, 2016

@HighKo can you give me an example for doing that locally? if I can get it to run locally i'll figure out how to get it working on bluemix

kauffecup commented Aug 2, 2016

@HighKo can you give me an example for doing that locally? if I can get it to run locally i'll figure out how to get it working on bluemix

@HighKo

This comment has been minimized.

Show comment
Hide comment
@HighKo

HighKo Aug 2, 2016

@kauffecup It is essentially what beehive does. Multiple instances, where one runs as the web server and the others just as searchers which feed the database. For that to work, all instances have to write to the same database. Locally I would just run a shell script:
python runserver.py -u user1 -l "location1";
python runserver.py -u user2 -l "location2" --no-server;

HighKo commented Aug 2, 2016

@kauffecup It is essentially what beehive does. Multiple instances, where one runs as the web server and the others just as searchers which feed the database. For that to work, all instances have to write to the same database. Locally I would just run a shell script:
python runserver.py -u user1 -l "location1";
python runserver.py -u user2 -l "location2" --no-server;

@AHAAAAAAA

This comment has been minimized.

Show comment
Hide comment
@AHAAAAAAA

AHAAAAAAA Aug 3, 2016

Owner

not merging against master. pr to dev

Owner

AHAAAAAAA commented Aug 3, 2016

not merging against master. pr to dev

@AHAAAAAAA AHAAAAAAA closed this Aug 3, 2016

@kauffecup

This comment has been minimized.

Show comment
Hide comment
@kauffecup

kauffecup Aug 3, 2016

this PR continues in #3369

kauffecup commented Aug 3, 2016

this PR continues in #3369

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment