Virthualenvwrapper 三島Haskell無名関数の会#2       @kzfm
へびちゅうにゅう∼h"p://www.flickr.com/photos/56879816@N00/187827715
VirthualenvはPythonのvirtualenv    インスパイア  (知ってるよね?)
Pythonにはvirtualenvwrapperがあるよ!  (virtualenvを快適に使える)
快適すぎるので  Haskellでもつくった(virthualenvwrapper)
install from Github$ git://github.com/kzfm/virthualenvwrapper.git	$ cd virthualenvwrapper	$ cabal install 	# add to .bashr...
make new env$ mkvhenv testenv	Use regular Haskell tools (ghc, ghci, ghc-pkg, cabal)	 to manage your Haskell environment.	T...
switch env$ deactivate	Deactivating testenv Virtual Haskell Environment	 (at /Users/kzfm/.virthualenv/testenv).	Restoring ...
list all env$ lsvirthualenv	curl	optparse	snap	testenv	yesod
おしまい
Upcoming SlideShare
Loading in...5
×

Virthualenvwrapper

1,718

Published on

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

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

No notes for slide

Virthualenvwrapper

  1. 1. Virthualenvwrapper 三島Haskell無名関数の会#2 @kzfm
  2. 2. へびちゅうにゅう∼h"p://www.flickr.com/photos/56879816@N00/187827715
  3. 3. VirthualenvはPythonのvirtualenv インスパイア (知ってるよね?)
  4. 4. Pythonにはvirtualenvwrapperがあるよ! (virtualenvを快適に使える)
  5. 5. 快適すぎるので Haskellでもつくった(virthualenvwrapper)
  6. 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. 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. 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. 9. list all env$ lsvirthualenv curl optparse snap testenv yesod
  10. 10. おしまい
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×