-
Notifications
You must be signed in to change notification settings - Fork 0
d6y/LiftOnCloudBeesTemplate
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Lift on CloudBees Template LoCB is based on the Lift 2.3 archive from http://liftweb.net/download. This build is for :: Scala 2.9 Lift 2.4-M3 SBT 0.7.7 It has several SBT plugins added for convenience. sbt-eclipsify sbt-scct-for-2.8 sbt-cloudbees-plugin Getting started: Before firing up SBT update the project name in project/build.properties If you are going to use cloud bees you'll want to update the following: ~/.bees/bees.config is populated with your key & secret. bees.api.key=API_KEY bees.api.secret=SECRET ./project/build/LiftProject.scala contains your username and applicationId override def beesUsername = Some("username") override def beesApplicationId = Some("username/appname") ./src/main/resources/props/production.default.props //Sendgrid conf [email protected] # Sendgrid.com configuration: [email protected] mail.password=password Sendgrid (or similar) must be used if deploying to cloudbees as the bees don't allow sending mail from localhost. If you don't want to use the cloudbees plugin at the very least update the web.xml to use the Lift filter rather than the CloudBees filter. If you want to remove the Cloud bees plugin entirely see below. JNDI Conf ./src/main/scala/bootstrap/liftweb/Boot.scala DefaultConnectionIdentifier.jndiName = "jdbc/JNDI_NAME" ./src/main/webapp/WEB-INF/cloudbees-web.xml <resource name="jdbc/JNDI_NAME" auth="Container" type="javax.sql.DataSource"> ./src/main/webapp/WEB-INF/cloudbees-web.xml <param name="url" value="jdbc:cloudbees://JNDI_NAME" /> ./src/main/webapp/WEB-INF/web.xml <res-ref-name>jdbc/JNDI_NAME</res-ref-name> Running & deploying 1. sbt 2. > reload 3. > update 4. > eclipse 5. > jetty 6. > bees-deploy
About
Shell liftweb application set up to deploy to cloudbees. Uses SBT for builds.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published