Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/binhex/arch-pycharm

Docker build script for Arch Linux base with PyCharm
https://github.com/binhex/arch-pycharm

arch-linux docker docker-image gui ide novnc pycharm python x-windows

Last synced: 8 days ago
JSON representation

Docker build script for Arch Linux base with PyCharm

Awesome Lists containing this project

README

        

**Application**

[PyCharm](https://www.jetbrains.com/pycharm/)

**Description**

PyCharm is an Integrated Development Environment (IDE) used in computer programming, specifically for the Python language. It is developed by the Czech company JetBrains.[2] It provides code analysis, a graphical debugger, an integrated unit tester, integration with version control systems (VCSes), and supports web development with Django.

**Build notes**

Latest stable PyCharm release from Arch Linux AUR.

**Usage**
```
docker run -d \
-p 5900:5900 \
-p 6080:6080 \
--name= \
--security-opt seccomp=unconfined \
-v :/config \
-v :/data \
-v /etc/localtime:/etc/localtime:ro \
-e WEBPAGE_TITLE= \
-e VNC_PASSWORD= \
-e ENABLE_STARTUP_SCRIPTS= \
-e UMASK= \
-e PUID= \
-e PGID= \
binhex/arch-pycharm
```

Please replace all user variables in the above command defined by <> with the correct values.

**Example**
```
docker run -d \
-p 5900:5900 \
-p 6080:6080 \
--name=pycharm \
--security-opt seccomp=unconfined \
-v /apps/docker/pycharm:/config \
-v /apps/docker/pycharm/projects:/data \
-v /etc/localtime:/etc/localtime:ro \
-e WEBPAGE_TITLE=Tower \
-e VNC_PASSWORD=mypassword \
-e ENABLE_STARTUP_SCRIPTS=yes \
-e UMASK=000 \
-e PUID=0 \
-e PGID=0 \
binhex/arch-pycharm
```

**Access via web interface (noVNC)**

`http://:/vnc.html?resize=remote&host=&port=&&autoconnect=1`

e.g.:-

`http://192.168.1.10:6080/vnc.html?resize=remote&host=192.168.1.10&port=6080&&autoconnect=1`

**Access via VNC client**

`::`

e.g.:-

`192.168.1.10::5900`

**Notes**

`ENABLE_STARTUP_SCRIPTS` when set to `yes` will allow a user to install additional packages from the official Arch Repository or the Arch User Repository (AUR) via scripts located in the folder `/config/home/scripts/`. A sample script is located at `/config/home/scripts/example-startup-script.sh` with comments to guide the user on script creation.

User ID (PUID) and Group ID (PGID) can be found by issuing the following command for the user you want to run the container as:-

```
id
```
___
If you appreciate my work, then please consider buying me a beer :D

[![PayPal donation](https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MM5E27UX6AUU4)

[Documentation](https://github.com/binhex/documentation) | [Support forum](https://forums.lime-technology.com/topic/60734-support-binhex-pycharm/)