https://github.com/elhmn/dotfiles
https://github.com/elhmn/dotfiles
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/elhmn/dotfiles
- Owner: elhmn
- Created: 2022-05-22T07:03:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-08T13:39:05.000Z (almost 2 years ago)
- Last Synced: 2025-02-13T08:25:28.292Z (8 months ago)
- Language: Shell
- Size: 79.1 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dotfiles
```
curl https://raw.githubusercontent.com/elhmn/dotfiles/main/install.sh | bash
```# How to run a local dev environment
The local dev environment is based on docker.
### Build the dev-container
```console
docker build . -t dev-container
```You can build without cache using
```console
docker build . -t dev-container --no-cache
```### Run the dev-container with a volume
```console
docker run --rm -v "$(echo $HOME)/workspace:/home/user/workspace" -p 80:80 -p 8080:8080 -p 3000-3010:3000-3010 -P -dt dev-container
```### Exec in the container and use it for your development
```console
docker exec -it $(docker ps | grep dev-container | head -n1 | cut -d " " -f 1) /bin/bash
```### Troobleshooting:
#### nvim:
- If `:GoInstallBinaries` does not work try adding the `export GOBIN=$GOPATH/bin` to your `.zshrc` or `.bashrc`
- An issue with `Error on execute :pyx command, ultisnips feature of coc-snippets` try to run `pip3 install pynvim`. [More informations](https://www.reddit.com/r/neovim/comments/u0ofn4/comment/i4emnfn/?utm_source=share&utm_medium=web2x&context=3) and [here](https://github.com/neoclide/coc-snippets#python-support)