Code Monkey home page Code Monkey logo

lift_30_sbt's Introduction

Template Applications for Lift 3.0

Lift version 3.0 templates

This repository contains templates for Lift projects.

These templates offer a starting point for your Lift-based project.

Getting started

Most people will want to start with the lift_basic template. This template shows you how to use:

  • Mapper, which is one way to connect to a database using Lift.
  • specs2, to write unit tests (or spec tests).

How to use them

At your terminal, enter:

  1. git clone https://github.com/lift/lift_30_sbt.git

  2. cd lift_30_sbt/lift_basic

  3. ./sbt

    SBT will download a lot of stuff and after some time, you will see the sbt prompt `>`
    
  4. jetty:start

  5. Your Lift application is now running at 127.0.0.1:8080

How to work with Lift

Now that you have your first Lift application running, you may want to look around the code, change a few things and see what happens.

You can use any IDE you want, even a text editor, but one of the best IDE for Scala is IntelliJ IDEA with the scala plugin. We'll assume you already got that installed. If you need help, this is the plugin page

  1. Open Intellij, click on File -> Open

  2. Navigate to the folder lift_30_sbt/lift_basic and click open.

    You will see a new dialog panel asking a few questions, leave them on the default settings and click **ok**. A new window will appear asking
    about which modules to include, leave them both checked and click **ok**.
    
    After a few minutes, you will be able to start making changes to the sample project.
    
    You can now navigate through the different files, and make changes as you wish. To see those changes take effect, you go back to `sbt` and restart `jetty` by doing `;jetty:stop;jetty:start`
    

Getting help

Questions, feedback, etc. please join the conversation at https://groups.google.com/forum/#!forum/liftweb

lift_30_sbt's People

Contributors

farmdawgnation avatar fmpwizard avatar karma4u101 avatar shadowfiend avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lift_30_sbt's Issues

Not possible to fork or push to repo

I would like to help out with the 3.0 templates but as this repo is totally empty most functions is disabled. If some one with enough foo could add a readme.md or something maybe things kicks in and the repo will be accessible?
If that doesn't help we may need to contact github support

sbt-launch not where expected

What I'm doing

$ git clone https://github.com/lift/lift_30_sbt.git
... done.
$ cd lift_30_sbt/lift_basic/
./sbt
Downloading sbt launcher...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 1025k  100 1025k    0     0  1238k      0 --:--:-- --:--:-- --:--:-- 6974k
mv: cannot stat 'project/sbt/bin/sbt-launch.jar': No such file or directory
Error: Unable to access jarfile project/sbt-launch-0.13.13.jar

Indeed, there is not such file in project/, but there is a project/sbt-launcher-packaging-0.13.13/bin/sbt-launch.jar. So I copy that file as project/sbt-launch-0.13.13.jar, and now it works.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.