Skip to content
This repository has been archived by the owner on Sep 22, 2018. It is now read-only.

mazgi/playenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

playenv

Build Status

Groom your Play Framework environment.

Do you need sbt and Scala version management? Please refer to sbtenv in the case of use sbt, and scalaenv in the case of use Scala.

Installation

  1. git clone playenv into ~/.playenv.

    $ git clone git://github.com/mazgi/playenv.git ~/.playenv
  2. Add ~/.playenv/bin to your $PATH for access to the playenv command.

    $ echo 'export PATH="${HOME}/.playenv/bin:${PATH}"' >> ~/.zshrc
  3. Add playenv init to your shell to enable shims and autocompletion.

    $ echo 'eval "$(playenv init -)"' >> ~/.zshrc

    Bash note: Modify your ~/.bash_profile file instead of ~/.zshrc.

  4. Restart your shell so that PATH changes take effect. (Opening a new terminal tab will usually do it.) Now check if playenv was set up:

    $ type playenv
    #=> "playenv is a shell function"

    Same as in previous step, use ~/.bash_profile for Bash.

  5. Install each version of Play Framework.

    $ playenv install play-2.2.1

    If show all available version, please use the following command:

    $ playenv install -l
    All available versions:
    play-1.2.5
    play-1.2.5.1
    play-1.2.5.2
    ...

    If want to install manually, please download Play Framework archive and extract into ~/.playenv/versions/.

    $ curl -LO http://downloads.typesafe.com/play/2.2.1/play-2.2.1.zip
    $ unzip play-2.2.1.zip -d ~/.playenv/versions/

Version History

0.0.4 (Mar 17, 2014)

  • Improved installation instruction by play-install built-in plugin.

0.0.3 (Mar 14, 2014)

  • Added Travis CI status badge on README.
  • Fixed a bug when run rehash subcommand.
  • Fixed version string.

0.0.2 (Mar 04, 2014)

  • Added completions for Z shell and Bash.

0.0.1 (Jan 30, 2014)

  • Initial public release.

About

Groom your Play Framework environment.

Resources

License

Stars

Watchers

Forks

Packages

No packages published