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

https://github.com/elhmn/dotfiles


https://github.com/elhmn/dotfiles

Last synced: 6 months ago
JSON representation

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)