arch-tuto/dev.md
Francois B. (Makoto) 2a00e84b28 .
2020-12-18 21:32:20 +01:00

348 lines
3.7 KiB
Markdown
Executable file

# 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
```shell
trizen -S yarn
```
Ou bien
```shell
sudo npm i -g yarn
```
#### Gulp
```shell
trizen -S gulp
```
#### Angular CLI
```shell
sudo npm i -g @angular/cli
```
Et utiliser `yarn` à la place de `npm` (AngularCLI >= 6)
```shell
ng config -g cli.packageManager yarn
```
#### Ionic & Cordova
```shell
sudo npm i -g ionic cordova
```
### GO
```shell
trizen -S go
```
### Lua
```shell
trizen -S lua luajit
```
### PHP
```shell
trizen -S composer php
```
### Python
```shell
trizen -S python-{pyqt5,pipenv} tk
```
```shell
sudo -H pip3 install pylint autopep8
```
### QT5
```shell
trizen -S qtcreator qt5-tools
```
### Ruby
```shell
trizen -S ruby
```
Dans `~/.bashrc`, ajouter
```shell
PATH=$PATH:~/.gem/ruby/2.7.0/bin
```
## Base de données
### MongoDB + Compass
```shell
trizen -S mongodb-bin mongodb-tools-bin mongodb-compass
```
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
```
### 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
```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
```
>**Remarque** : Si vous avez une erreur concernat un module python déjà présent, désinstallez-le via pip3
>
>```shell
>sudo -H pip3 uninstall cffi pycparser
>```
### Boostnote
```shell
trizen -S boost-note-bin
```
### Docker
```shell
trizen -S docker docker-compose
```
> **Remarqe** : Si vous avez une erreur concernat un module python déjà présent, désinstallez-le via pip3
>
> ```shell
> sudo -H pip3 uninstall docopt
> ```
### 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
```