Vous n'êtes pas identifié(e).
L'icône rouge permet de télécharger chaque page du wiki visitée au format
PDF et la grise au format ODT →
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente | Prochaine révision Les deux révisions suivantes | ||
utilisateurs:hypathie:tutos:developpement-pyhon-utiliser-django [09/12/2015 21:42] Hypathie [Installations] |
utilisateurs:hypathie:tutos:developpement-pyhon-utiliser-django [09/12/2015 22:24] Hypathie [Installations] |
||
---|---|---|---|
Ligne 129: | Ligne 129: | ||
<code root>apt-get install checkinstall</code> | <code root>apt-get install checkinstall</code> | ||
<code root>checkinstall</code> | <code root>checkinstall</code> | ||
+ | |||
+ | <code retour>********************************************************************** | ||
+ | |||
+ | Done. The new package has been installed and saved to | ||
+ | |||
+ | /root/vim/vim_20151209-1_amd64.deb | ||
+ | |||
+ | You can remove it from your system anytime using: | ||
+ | |||
+ | dpkg -r vim | ||
+ | |||
+ | **********************************************************************</code> | ||
+ | |||
+ | <note> | ||
+ | **Et maintenant ''vim --version'' retourne ''-python +python3 ''** 8-) | ||
+ | </note> | ||
* On fait de vim son éditeur par défaut | * On fait de vim son éditeur par défaut | ||
Ligne 139: | Ligne 155: | ||
* On fait de vim un véritable petit IDE pour coder en python | * On fait de vim un véritable petit IDE pour coder en python | ||
- | <code root></code> | + | On télécharge ce script |
- | <code root></code> | + | <code text configVim.sh> |
- | <code root></code> | + | #!/bin/sh |
- | <code root></code> | + | |
- | <code root></code> | + | mkdir -p ~/.vim/autoload/ ~/.vim/bundle/ ~/.vim/colors/ ~/.vim/ftplugin/ |
- | <code root></code> | + | printf "les dossiers ~/.vim/autoload/ ~/.vim/bundle/ ~/.vim/colors/ ~/.vim/ftplugin/ ont bien été créés\n" |
+ | ls -la ~/.vim/ | ||
+ | cd ~/.vim/autoload | ||
+ | wget https://raw.githubusercontent.com/tpope/vim-pathogen/master/autoload/pathogen.vim | ||
+ | cd ~/.vim/bundle | ||
+ | git clone https://github.com/tpope/vim-sensible.git && git clone https://github.com/kien/ctrlp.vim.git && git clone https://github.com/scrooloose/nerdtree && git clone https://github.com/klen/python-mode.git && git clone https://github.com/Lokaltog/vim-powerline.git && git clone https://github.com/jistr/vim-nerdtree-tabs.git | ||
+ | cd ~/.vim/colors | ||
+ | wget https://raw.githubusercontent.com/thesheff17/youtube/master/vim/wombat256mod.vim | ||
+ | cd ~/.vim/ftplugin | ||
+ | wget https://raw.githubusercontent.com/thesheff17/youtube/master/vim/python_editing.vim | ||
+ | cd ~ | ||
+ | wget https://raw.githubusercontent.com/thesheff17/youtube/master/vim/vimrc | ||
+ | ls -la ~/vimrc | ||
+ | printf "Le fichier ~/vimrc a bien été reçu.\n" | ||
+ | mv vimrc ~/.vimrc | ||
+ | printf "Le fichier ~/vimrc est dans ~/.vimrc\n" | ||
+ | printf "Et voilà !\n" | ||
+ | </code> | ||
+ | <code user>mv ~/Téléchargement/configVim.sh ~/</code> | ||
+ | <code user></code> | ||
+ | <code user></code> | ||
+ | <code user></code> | ||
+ | <code user></code> | ||
<code root></code> | <code root></code> | ||