lojinha icon indicating copy to clipboard operation
lojinha copied to clipboard

create script to make the initial deployment of the system

Open jcranky opened this issue 12 years ago • 1 comments

the script should:

  • configure the instance to have some swap memory (if an aws micro), like in: http://vidageek.net/2007/08/22/gerando-memoria-swap-on-the-fly/
  • install javac?
  • download play framework
  • configure .bashrc with PLAY_HOME and update the PATH properly (actually, downloading / installing only sbt should be enough)
  • download the source of the project (lojinha) from git
  • add the analytics script in the index.scala.html file
  • add the proper configuration in the secret.conf file
  • use the play command to generate the application
  • start the application

Assuming: a database is already configured and ready to be used (perhaps the script should do this as well?).

jcranky avatar Sep 13 '12 01:09 jcranky

Perhaps Chef or Puppet should be taken into account before writing this script...

jcranky avatar Sep 13 '12 03:09 jcranky