Git Product home page Git Product logo

coderdojoleaderboard's Introduction

CoderDojoAndroidApp

This is a readme file. CoderDojoAndroidApp is now Lightning presentation waitlist. This is how life works.

Website is at CoderDojoLeaderboard.mybluemix.net

Website is up! After a few hours of late-in-the-evening research, I finally got that great feeling when something finally works. I figured out how to get Bluemix to run the website.

Basic outline (discuss here if you want, ask questions):

  • The Bluemix app is NOT IN ANY WAY synced to the GitHub repository
  • instead, to run the application, I pull the repository onto my computer with git, then I push the application to Bluemix using cf (the Cloud Foundry command-line application).
  • The way Cloud Foundry works, it runs an "application." What the Bluemix website doesn't tell you with its mess of menus is that you don't have to run a server-side rendering application like Node.js. You can run any application theoretically, but in our case, we just want a web server. You can, in fact, do that.
  • Some extensive googling later, I found a "buildpack" (a buildpack is basically cf's name for a server-side application) for a simple Nginx web server.
  • https://github.com/cloudfoundry/staticfile-buildpack
  • So, to sum it all up, if I want to start running the server, I cd into my local copy of the git repo, and run (assuming I've already configured the Bluemix server parameters and IBM id in cf):
    • cf push -m 64M -b https://git hub.com/cloudfoundry/staticfile-buildpack CoderDojoLeaderboard
  • I won't always keep the website live, but since I have a Bluemix trial, I think I can use as much bandwidth as I want. Since it's only 64 MB of server RAM, I'll keep it running until our next meeting if anyone wants to check it out. In fact, 64 MB * 744 hours in a 31-day month is only 46.5 GB-hours, and Bluemix lets you have 375 GB-hours a month free even after your trial is over, so either way I'm fine running the app the entire time.

Note: If you pushed something to the repository and want me to restart the web server, send me an email.

coderdojoleaderboard's People

Contributors

leggoboyi avatar ybordag avatar louisaseever avatar vijjis avatar

Stargazers

 avatar

Watchers

Vishakh avatar Umesh P Narendran avatar voidkatto avatar Pulkit Mahajan avatar  avatar  avatar  avatar  avatar

coderdojoleaderboard's Issues

What do we think of getting our own domain to run on instead of keeping everything on Bluemix?

I think it might be good if we start with a free domain [.tk & .ml come to mind] and set Bluemix up to run the website on the domain. That OR we can port the data over to the FTP protocol.

As for providers, 000webhost comes to mind as one that seems quite reliable and that we can get for free. I use 000webhost for my site and it appears to work completely fine. Thoughts?

Pls fix

Your CSS is broken; you were working on something last meeting at the library, but you haven't yet added those changes or reported anything to us.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.