1
0
Fork 0
env/README.md

38 lines
912 B
Markdown
Raw Normal View History

2018-04-01 21:22:32 +08:00
2018-09-22 20:51:01 +08:00
# env [![Build Status](https://ci.makerforce.io/api/badges/ambrose/env/status.svg)](https://ci.makerforce.io/ambrose/env)
2018-04-01 21:22:32 +08:00
2018-04-02 23:13:44 +08:00
Just storing dotfiles in a repository isn't enough. This is almost all the tools I use, put into a Docker image that I can run anywhere
2018-04-01 21:31:06 +08:00
2018-12-01 17:02:59 +08:00
## Todo
- [ ] i3bar
- [ ] macOS support?
2018-04-01 21:31:06 +08:00
## Usage
2018-04-01 21:36:34 +08:00
```sh
2018-10-19 23:33:56 +08:00
docker run -it -p 8080:8080 -v $PWD:/home/ambrose/src registry.makerforce.io/ambrose/env
2018-12-02 14:17:21 +08:00
yadm clone git@github.com:serverwentdown/env.git
2018-04-02 15:11:01 +08:00
yadm decrypt
2018-04-01 21:31:06 +08:00
```
Or to run without yadm:
2018-04-01 21:36:34 +08:00
```sh
2018-10-19 23:33:56 +08:00
docker run -it -p 8080:8080 -v $PWD:/home/ambrose/src -v $HOME/.ssh:/home/ambrose/.ssh registry.makerforce.io/ambrose/env
2018-04-01 21:31:06 +08:00
```
2018-04-01 21:36:34 +08:00
2018-04-02 23:13:44 +08:00
Which is also packed as a script:
2018-04-01 21:36:34 +08:00
```sh
2018-12-02 14:09:42 +08:00
curl -fLo ~/.local/bin/runenv https://raw.githubusercontent.com/serverwentdown/env/master/.local/bin/runenv
chmod +x ~/.local/bin/runenv
2018-04-02 15:11:01 +08:00
runenv
2018-04-01 21:36:34 +08:00
```
2018-04-02 13:03:45 +08:00
## Additional features
2018-04-02 15:11:01 +08:00
```sh
2018-04-02 23:17:58 +08:00
sudo ./.install/jdk.sh && sudo ./.install/gradlr.sh
2018-04-02 13:03:45 +08:00
```