Skip to content

Forge-Media/Forge-TSM

Repository files navigation

Code Climate DevDependencies Heroku

ForgeTSM 0.2.0 Development

For development purposes only (Based on heroku-multipack-nodejs-php-example)

By Jeremy Paton & Marc Berman

Copyright (c) Forge Gaming Network 2015

Welcome to ForgeTSM, a Teamspeak 3 channel creator web-app based on PHP & ts3admin.class, developed using Cloud9 & deployable to Heroku. We intend to either use AngularJS or Bootstrap for the frontend, however thats all in the future right now we are focused on the backend.

By using this multipack-nodejs-php the Forge-TSM app can be quickly deployed to Heroku, wihich would otherwise be difficult as Forge-TSM is a PHP app which requires UI Bootstrap to be installed by Bower.

Dev branch details:

Dev quick deploy:

Deploy

Example: http://heroku-multipack-nodejs-php-ex.herokuapp.com/

How it works

  1. The file .buildpacks instructs the Multi Buildpack which buildpacks to run in sequence
  2. The Node.js buildpack installs Bower using NPM (see package.json/npm-shrinkwrap.json)
  3. The Node.js buildpack makes its binaries available to the next buildpack in the chain
  4. The PHP buildpack runs and installs dependencies using Composer
  5. As part of the composer install step, the post-install-cmd scripts run
  6. That executes $(npm bin -q)/bower install - bower install would work too, as node_modules/.bin is on $PATH on Heroku, but it would likely not work on local development environments, hence the more portable use of prefixing the result from npm bin -q to retrieve said directory name.
  7. Bower installs Bootstrap
  8. Done!

Change Log - v0.2.0

Older changes

About

Workspace info Updated a few seconds ago. Simple web-front which allows the creation of channels on a Teamspeak 3 server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published