arch-tuto/dev.md

349 lines
3.7 KiB
Markdown
Raw Permalink Normal View History

2019-07-23 08:09:33 +00:00
# Outils de Dev
Pour cette partie, je passe certaines explications étant donné le publique cible ^^
## Outis de base
```shell
trizen -S gdb ghex jq meld
```
## Langages
### Javascript
#### NVM
```shell
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
```
#### Yarn
2019-10-06 01:58:51 +00:00
```shell
trizen -S yarn
```
Ou bien
2019-07-23 08:09:33 +00:00
```shell
sudo npm i -g yarn
```
#### Gulp
```shell
trizen -S gulp
```
#### Angular CLI
```shell
sudo npm i -g @angular/cli
```
2019-07-23 12:26:24 +00:00
Et utiliser `yarn` à la place de `npm` (AngularCLI >= 6)
2019-07-23 08:09:33 +00:00
```shell
ng config -g cli.packageManager yarn
```
2019-07-23 12:26:24 +00:00
#### Ionic & Cordova
2019-07-23 08:09:33 +00:00
```shell
2019-07-23 12:26:24 +00:00
sudo npm i -g ionic cordova
2019-07-23 08:09:33 +00:00
```
2019-07-23 12:26:24 +00:00
### GO
2019-07-23 08:09:33 +00:00
```shell
2019-07-23 12:26:24 +00:00
trizen -S go
2019-07-23 08:09:33 +00:00
```
### Lua
```shell
trizen -S lua luajit
```
### PHP
```shell
trizen -S composer php
```
### Python
```shell
2020-05-01 22:23:59 +00:00
trizen -S python-{pyqt5,pipenv} tk
2019-07-23 08:09:33 +00:00
```
```shell
sudo -H pip3 install pylint autopep8
```
### QT5
```shell
trizen -S qtcreator qt5-tools
```
### Ruby
```shell
trizen -S ruby
```
Dans `~/.bashrc`, ajouter
```shell
2020-05-01 22:23:59 +00:00
PATH=$PATH:~/.gem/ruby/2.7.0/bin
2019-07-23 08:09:33 +00:00
```
## Base de données
### MongoDB + Compass
```shell
2020-05-02 14:08:02 +00:00
trizen -S mongodb-bin mongodb-tools-bin mongodb-compass
2019-07-23 08:09:33 +00:00
```
Pour démarrer le serveur
```shell
sudo systemctl start mongodb.service
```
Et si besoin, le démarrer au boot
```shell
sudo systemctl enable mongodb.service
```
2020-05-02 14:08:02 +00:00
### MariaDB
#### Serveur
On install MariaDB
```shell
trizen -S mariadb
sudo mariadb-install-db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
```
On démarre le service
```shell
sudo systemctl start mariadb.service
```
On effectue la post installation
```shell
sudo mysql_secure_installation
```
Et éventuellement on démarre MariaDB au boot si besoin
```shell
sudo systemctl enable mariadb.service
```
#### Client
2019-07-23 08:09:33 +00:00
```shell
trizen -S mysql-workbench
```
### SQLite + SQLiteBrower
```shell
trizen -S sqlite sqlitebrowser
```
## IDE
### Android Studio
```shell
trizen -S android-tools android-studio
```
### Anjuta
```shell
trizen -S anjuta anjuta-extras
```
### Arduino IDE
```shell
trizen -S arduino arduino-docs
sudo usermod -a -G uucp shakasan
sudo usermod -a -G lock shakasan
```
### Atom
```shell
trizen -S atom apm
```
### Brackets
```shell
trizen -S brackets-bin
```
### Bluefish
```shell
trizen -S bluefish
```
### Codeblocks
```shell
trizen -S codeblocks
```
### Eclipse (JAVA)
```shell
trizen -S eclipse-java
```
### Eric
```shell
trizen -S eric
```
### Geany
```shell
trizen -S geany geany-plugins
```
### Glade
```shell
trizen -S glade
```
### Intellij-idea (CE)
```shell
trizen -S intellij-idea-community-edition
```
### Lazarus
```shell
trizen -S lazarus-qt5 gdb
```
### Notepadqq
```shell
trizen -S notepadqq
```
### PyCharm (CE)
```shell
trizen -S pycharm-community-edition
```
### Visual Studio Code
```shell
trizen -S visual-studio-code-bin
```
### BlueJ
```shell
trizen -S bluej
```
## Outils
### Ansible
```shell
trizen -S ansible ansible-lint
```
2020-05-01 22:23:59 +00:00
>**Remarque** : Si vous avez une erreur concernat un module python déjà présent, désinstallez-le via pip3
2020-05-01 22:25:40 +00:00
>
2020-05-01 22:23:59 +00:00
>```shell
>sudo -H pip3 uninstall cffi pycparser
>```
2019-07-23 08:09:33 +00:00
### Boostnote
```shell
2020-05-01 22:23:59 +00:00
trizen -S boost-note-bin
2019-07-23 08:09:33 +00:00
```
### Docker
```shell
trizen -S docker docker-compose
```
2020-05-01 22:23:59 +00:00
> **Remarqe** : Si vous avez une erreur concernat un module python déjà présent, désinstallez-le via pip3
2020-05-01 22:25:40 +00:00
>
2020-05-01 22:23:59 +00:00
> ```shell
> sudo -H pip3 uninstall docopt
> ```
2019-07-23 08:09:33 +00:00
### git
```shell
trizen -S git
```
### packagecloud cli tool
```shell
gem install package_cloud
```
### Postman
```shell
trizen -S postman-bin
```
### Umbrello
```shell
trizen -S umbrello
```
### Vagrant
```shell
trizen -S vagrant
```
### VirtualBox
```shell
trizen -S virtualbox
```
### Wordpress
```shell
trizen -S wp-cli wpscan
```
### Zeal
```shell
trizen -S zeal
```