{"id":13594027,"url":"https://github.com/JBKahn/provisioning-local","last_synced_at":"2025-04-09T05:32:46.123Z","repository":{"id":18233629,"uuid":"21377621","full_name":"JBKahn/provisioning-local","owner":"JBKahn","description":"A repo to hold the setup process for a new machine so that I don't have to remember all this stuff.","archived":false,"fork":false,"pushed_at":"2016-06-20T03:35:57.000Z","size":2852,"stargazers_count":38,"open_issues_count":4,"forks_count":18,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T02:23:08.711Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"VimL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JBKahn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-01T06:37:56.000Z","updated_at":"2022-03-01T16:31:27.000Z","dependencies_parsed_at":"2022-07-26T21:32:13.736Z","dependency_job_id":null,"html_url":"https://github.com/JBKahn/provisioning-local","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBKahn%2Fprovisioning-local","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBKahn%2Fprovisioning-local/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBKahn%2Fprovisioning-local/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBKahn%2Fprovisioning-local/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JBKahn","download_url":"https://codeload.github.com/JBKahn/provisioning-local/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247987056,"owners_count":21028891,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T16:01:27.768Z","updated_at":"2025-04-09T05:32:43.143Z","avatar_url":"https://github.com/JBKahn.png","language":"VimL","readme":"[![Stories in Ready](https://badge.waffle.io/JBKahn/provisioning-local.png?label=ready\u0026title=Ready)](https://waffle.io/JBKahn/provisioning-local)\nProvisioning My PC\n============\n\nA simple ansible script to set up my machine just the way I like it (currently base on Ubuntu 14.04).\n\nHow To Install With One Command\n-------------------------------\n\n```bash\nwget -qO- https://github.com/JBKahn/provisioning-local/raw/master/run.sh | bash\n```\n\n\nHow To Install The Old Fashioned Way\n------------------------------------\n\n1. Install pip\n  ```bash\n  sudo apt-get install python-setuptools\n  sudo easy_install pip\n  ```\n\n2. Install Ubuntu packages\n  ```bash\n  sudo apt-get install aptitude\n  sudo apt-get install git\n  sudo apt-get install python-dev libxml2-dev libxslt-dev\n  ```\n3. Setup Git\n  * [setup git](https://help.github.com/articles/set-up-git)\n  * [setup ssh keys](https://help.github.com/articles/generating-ssh-keys)\n4.  Checkout this repo and cd into the directory\n  ```bash\n  git clone https://github.com/JBKahn/provisioning-local.git \u003cdir\u003e\n  cd \u003cdir\u003e\n  ```\n\n5. Pip install the requirements\n  ```bash\n  sudo pip install -r requirements.txt\n  ```\n\n6. Fill in the variables in the [variables file ](./config.json)\n\n  | variable  | Description  |\n  | :------------ |:---------------|\n  | sager_laptop     | boolean to fix keyboard colors and backlight on ubuntu for sager laptops |\n  | vagrant_url | URL to vagrant .deb file you wish to install |\n  | virtualbox_url |URL to virtual_box .deb file you wish to install |\n  | github_username | github username |\n7. Provision your local machine\n\n  ```bash\n  ansible-playbook setup.yml -i HOSTS --ask-sudo-pass --module-path ./ansible_modules --extra-vars \"@config.json\"\n  ```\n\nPossible Issues\n---------------\n\n1. /usr/bin/ohai does not exist (Haven't hit since early development)\n\nThe fix was to remove old version of ruby, use rvm and then gem install ohai\n\nhttp://stackoverflow.com/questions/4464985/rails-3-ruby-1-9-2-does-it-need-usr-bin-ruby1-8\nhttps://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-on-ubuntu-12-04-lts-precise-pangolin-with-rvm\nhttps://wiki.opscode.com/display/chef/Ohai+Installation+and+Use\n","funding_links":[],"categories":["Vim Script"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJBKahn%2Fprovisioning-local","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJBKahn%2Fprovisioning-local","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJBKahn%2Fprovisioning-local/lists"}