Code Monkey home page Code Monkey logo

play-deb-packaging's Introduction

Sample Play! Deb Packaging Snapshot

This repo is a sample Play! 2.1 project that packages itself according to Coursera's typical best practices. For an overview, please see: Deploying Play! Apps. To package this Play! app, simply run deb from the Play! interactive console. You will find the generated deb inside the target folder.

Note: Within Coursera, packaging, helpers and more are shared between projects using the "PlayCour" plugin. e.g. A typical project/plugins.sbt file would have the following line appended:

// Include the playcour tooling
addSbtPlugin("org.coursera.playcour" % "sbt-plugin" % "2.11.0")

Instead in this project, a subset of the plugin is copied directly into the project folder. The settings are found in both Build.scala and DebHelpers.scala.

Note: the SBT Native Packager relies on tools such as fakeroot to be installed. If you see an error that looks like:

[error] (debian:package-bin) java.io.IOException: Cannot run program "fakeroot" (in directory "/Users/saeta/src/personal/play-deb-packaging/target/coursera-play-deb-packaging-1.0.0"): error=2, No such file or directory
[error] Total time: 2 s, completed Aug 27, 2013 1:45:52 PM
[play-deb-packaging] $

you probably don't have the appropriate tools installed. Consider running this command inside an Ubuntu-based machine. If you are having trouble, let me know!

What is a snapshot?

A "snapshot" is a an export of a part of our codebase at a particular point in time. It is not necessarily complete, nor is it guaranteed to be runnable. It is also liable to be out of date with our current codebase, and it is possible that we will not update the snapshot in the future. To read more about why we are sharing this as a snapshot, please read this blog post.

play-deb-packaging's People

Contributors

saeta avatar

Watchers

 avatar  avatar  avatar

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.