1
0
Fork 0
env/README.md

33 lines
851 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
## 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-04-02 15:11:01 +08:00
yadm clone https://github.com/serverwentdown/env.git
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-04-02 15:11:01 +08:00
curl -fLo ~/.bin/runenv https://raw.githubusercontent.com/serverwentdown/env/master/.runenv
chmod +x ~/.bin/runenv
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
```