https://github.com/hiqdev/rehome
Bring your home with you
https://github.com/hiqdev/rehome
dotfiles hacktoberfest
Last synced: about 1 month ago
JSON representation
Bring your home with you
- Host: GitHub
- URL: https://github.com/hiqdev/rehome
- Owner: hiqdev
- License: bsd-3-clause
- Created: 2016-09-23T09:48:01.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2020-12-04T15:49:38.000Z (over 5 years ago)
- Last Synced: 2025-06-03T19:41:52.979Z (about 1 year ago)
- Topics: dotfiles, hacktoberfest
- Language: Python
- Homepage:
- Size: 31.3 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ReHome
**Script to deploy and maintain home easily**
The goal is to setup all environment with a single command
- keep your dotfiles in repository
- define home config (shell and dependencies) in `.rehome.json`
- `wget https://raw.githubusercontent.com/hiqdev/rehome/master/rehome ; python rehome init me/dotfiles`
- Congrats! You're done with setuping all your environment to a new desktop or server.
## Configuration
The main config file is `.rehome.json`
Here is example config:
```json
{
"dotfiles": "hiqsol/dotfiles",
"shell": "zsh",
"installs": {
"zsh": "system",
"tmux": "system",
"composer": [
"wget https://getcomposer.org/installer -O composer-setup.php",
"php composer-setup.php --install-dir=bin --filename=composer"
]
},
"updates": {
"bin/composer": [
"bin/composer self-update",
"bin/composer global update"
],
"prj/hiqdev/hidev/vendor": [
"cd prj/hiqdev/hidev ; composer update"
]
}
}
```
Looks quite clear:
1. `dotfiles` - generally accessable dotfiles repository
2. `shell` - shell to be set with `chsh`
3. `installs` - array of path => commands to be run if path doesn't exist
4. `updates` - array of path => commands to be run on update
## License
This project is released under the terms of the BSD-3-Clause [license](LICENSE).
Read more [here](http://choosealicense.com/licenses/bsd-3-clause).
Copyright © 2016-2017, HiQDev ()