Virthualenvwrapper
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
  • slide6の一行目間違えてる

    git clone https://github.com/kzfm/virthualenvwrapper.git
    Are you sure you want to
    Your message goes here
    Be the first to like this
No Downloads

Views

Total Views
1,911
On Slideshare
765
From Embeds
1,146
Number of Embeds
4

Actions

Shares
Downloads
1
Comments
1
Likes
0

Embeds 1,146

http://blog.kzfmix.com 1,136
http://shillala9.nazata.com 7
http://translate.googleusercontent.com 2
http://www.feedspot.com 1

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Virthualenvwrapper 三島Haskell無名関数の会#2 @kzfm
  • 2. へびちゅうにゅう∼h"p://www.flickr.com/photos/56879816@N00/187827715
  • 3. VirthualenvはPythonのvirtualenv インスパイア (知ってるよね?)
  • 4. Pythonにはvirtualenvwrapperがあるよ! (virtualenvを快適に使える)
  • 5. 快適すぎるので Haskellでもつくった(virthualenvwrapper)
  • 6. install from Github$ git://github.com/kzfm/virthualenvwrapper.git $ cd virthualenvwrapper $ cabal install # add to .bashrc $ echo “source $HOME/Library/Haskell/ghc-7.4.2/lib/ virthualenvwrapper-0.1.0.0/share/virthualenvwrapper.sh” >> ~/.bashrc $ source ~/.bashrc
  • 7. make new env$ mkvhenv testenv Use regular Haskell tools (ghc, ghci, ghc-pkg, cabal) to manage your Haskell environment. To exit from this virtual environment, enter command deactivate. (testenv)localhost@kzfm:~ $
  • 8. switch env$ deactivate Deactivating testenv Virtual Haskell Environment (at /Users/kzfm/.virthualenv/testenv). Restoring previous environment settings. localhost@kzfm:~ $ workhon yesod Activating yesod Virtual Haskell Environment (at /Users/kzfm/.virthualenv/yesod). Use regular Haskell tools (ghc, ghci, ghc-pkg, cabal) to manage your Haskell environment. To exit from this virtual environment, enter command deactivate. (yesod)localhost@kzfm:~ $
  • 9. list all env$ lsvirthualenv curl optparse snap testenv yesod
  • 10. おしまい