Your SlideShare is downloading. ×
0
Virthualenvwrapper
Virthualenvwrapper
Virthualenvwrapper
Virthualenvwrapper
Virthualenvwrapper
Virthualenvwrapper
Virthualenvwrapper
Virthualenvwrapper
Virthualenvwrapper
Virthualenvwrapper
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Virthualenvwrapper

1,666

Published on

1 Comment
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total Views
1,666
On Slideshare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
2
Comments
1
Likes
0
Embeds 0
No embeds

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. おしまい

×