From PmWiki

V2: EventJWebsite

Sites

The website is stored in SVN, url is here:

The 'pre-launch' deployment URL is here:

Any code changes to the site should be done via SVN, and then pushed via the deployment script.

Deployment

Deployment is done via the ej-webupdate script, stored in SVN. Note it requires the AWS keys in order to operate

Todo

System / environment

Basic Webpage design / layout

Account Management

Deployments

This can be as hacky as we like, but the gist will be:

  1. A user goes to their dashboard and says "I want to deploy an event"
  2. they are prompted with basic information - name of the event, basic con_detail stuff, and hit "Go."
  3. the provisioning database is updated to reflect that such and such a user has requested deployment of such and such a host.
  4. A script deploys a congo.home configuration file that has the basic information listed above
  5. A script creates a new database in mysql for this congo instance, and puts the database name into the congo.home config file before
  6. A script deploys a copy of the .war file for CONGO into Tomcat to a hashed directory target, so that it will show up as 'eventj.com/c/a2b3df05/' or whatever, using the congo.home configuration variable defined above.
  7. The user should see a 'deploying...' screen while this is going on. It shoudl not take more than 10 seconds or so.
  8. "Your new host is ready, it's URL is..." - Click to return to your dashboard (which will now reflect the newly deployed CONGO instance)
Retrieved from http://congo.wiki.stonekeep.com/V2/EventJWebsite
Page last modified on January 20, 2012, at 05:09 PM