liftå ¥é
scalaãããã£ã¦ã¿ããã©ãå®éã«ä½ãä½ã£ã¦ã¿ãªãã¨ããããããã®ã§ã
Twitterãfoursquareã使ã£ã¦ããã¨ããliftã«å
¥éãã¦ã¿ãã
ããã¸ã§ã¯ãã®ä½æ
ãããããæ¬çªã§ãã以ä¸ãå®è¡ã
mvn archetype:generate -U \ -DarchetypeGroupId=net.liftweb \ -DarchetypeArtifactId=lift-archetype-basic \ -DarchetypeVersion=1.1-M8 \ -DarchetypeRepository=http://scala-tools.org/repo-releases \ -DremoteRepositories=http://scala-tools.org/repo-releases \ -DgroupId=demo.helloworld \ -DartifactId=helloworld \ -Dversion=1.0
archetype:create ã¨ã説æãã¦ããæ¹ãããã£ãããã¾ãããç¾å¨ã¯ generate ã«ãªã£ã¦ããã¿ããã
DarchetypeVersion ã¯1.0ã ã¨ãµã¼ãã¼èµ·åå¾ã«ã¢ã¯ã»ã¹ã¨ã©ã¼ã«ãªãã¾ãããï¼scalaã®ãã¼ã¸ã§ã³ãæªãã£ãã®ããªï¼ï¼
ã2010/05/17 è¿½è¨ >>ã
http://scala-tools.org/repo-releases/net/liftweb ã«ã
Archetypeãã¨ã®ãªãã¸ããªãããã®ã§ããã¼ã¸ã§ã³ãéæãã§ãã¯ã
ç¾æç¹ã®ææ°ã¯ 2.0-M5ã
ã<< 2010/05/17 追è¨ã
ãã§
cd helloworld mvn jetty:run ... [INFO] Started Jetty Server [INFO] Starting scanner at interval of 5 seconds.
ã¨å®è¡ãã¦ãhttp://localhost:8080/ ã«ã¢ã¯ã»ã¹ããã¨ä»¥ä¸ã®ç»é¢ã表示ããã¾ãã
ï¼ååèµ·åæã¯çµæ§æéããããã¾ãï¼
èµ·åãã¼ããå¤ãããå ´åã¯ã
mvn jetty:run -Djetty.port=80
ã£ã¦ããã°ãï½ã
åºæ¬çãªå°å
¥èªä½ã¯ãããç°¡åã ãã©ããã£ã±ãæ°ãã¤ããªãã¡ããããªãã®ãã
è¨èªã¨ãã¬ã¼ã ã¯ã¼ã¯ã®ãã¼ã¸ã§ã³ãrails ããªããæªããã¨ããã£ããã
ãã£ã¨å®ä¾ãå¢ãããã¨ã«æå¾ ã