Register
Submit a solution
The challenge is finished.

Challenge Overview

Project Overview

This project, the CSFV Community Gaming website project will provide the web site infrastructure and integration of the games. This will be a web site that is available on the Internet, and also will be delivered in a form where the server and the games can be installed and used behind a firewall.

This contest is part of a series of assembly contests to create a DVD Installer to install the CSFV apps and games to an offline physical machine.

One of the problems we are facing that we have 6 teams, each team have a complicated scripts to setup their game and the game backend, so we are thinking of creating a central Amazon Ec2 Instance that teams log into, setup their game, then we export it and create a DVD Installer to deploy everything we have in the ec2 instance to a phsyical offline machine.

As first step, we want to prove that we can export Ec2 Instance that have node.js app and get it working into a physical machine. So in this assembly, we are trying to create a custom CentOS Dvd Installer that can be used to install CentOS on an offline machine packaged with the software dependencies (mongo, memcached ..etc), the node module dependencies,  a script to run these dependencies and CSFV CMS node.js apps (this is simple app that need mongo, memcached, and some other softwares to run).

Competition Task Overview

After some investigation into Amazon Ec2, it turns out that we cannot export Ec2 Instance image unless it is originally imported, so one of the solutions is to create a local VM image, import it to Amazon ec2, then export it after we are done with setting up what we need.

So, in this contest you need to prove we can do the following :

  • Create CentOS 6.4 VM locally and create image (The VM tool should be deployable to Windows, Mac and Linux machines)
  • Import the image to Amazon Ec2 Instance
  • Setup all softwares needed to run CSFV express.js Apps
  • Setup the CSFV express.js apps (they are very simple to setup and run).
  • Export the amazon ec2 instance back to VM locally
  • Do a Diff between the original CentOS image and the exported One. Then code a script to be packaged in a DVD installer that run to setup the differences in a physical CentOS Machine. The script should include commands to run the CSFV express.js apps once the installation is completed.

GitHub Repos

The CSFV code base is hosted on GitHub at: [https://github.com/topcoderinc]

If you get a page not found error when viewing that link, request access in the forum indicating your GitHub username.

Submission Deliverables

  • Document describing step by step how everything required above was done.
  • Submit all files needed to complete the steps above.
  • The mounted DVD Installer, screener will use it to verify your solution.

Reviewers will be using these files/documents in your submission to thoroughly approve your solution. 

Technology Overview

  • CentOS Linux 6.4
  • NodeJS v0.8.18
  • MongoDB v2.4.3
  • Git v1.8.2
  • Nginx 1.x.x

Support

Standard support is required.

The winner will be required to merge and push any changes by this contest to GitHub.

Final Submission

Your final submission must be uploaded to Online Review.



Final Submission Guidelines

N/A

ELIGIBLE EVENTS:

2014 TopCoder(R) Open

Review style

Final Review

Community Review Board

Approval

User Sign-Off

ID: 30038882