在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:pivotal/workstation-setup开源软件地址:https://github.com/pivotal/workstation-setup开源编程语言:Shell 99.6%开源软件介绍:Workstation SetupThis project automates the process of setting up a new Mac OS X software development machine using simple Bash scripting. It heavily relies on homebrew. GoalsThe primary goal of this project is to give people a simple script they can run to make their Mac OS X machine prepared and standardized for working on software development projects, especially those common at VMware Tanzu Labs. Why did we do it this way?
Anti-goalsThis project does not aim to do everything. Some examples:
Preparation
Getting this toolOpen up mkdir -p ~/workspace &&
cd ~/workspace &&
git clone https://github.com/pivotal/workstation-setup.git &&
cd workstation-setup Note: This might prompt you to install the latest Xcode command line development tools. Please do so if prompted. Using this toolWithin ./setup.sh [list of optional configurations] Examples: # This will only install the default items
./setup.sh
# This will install the latest Java and Docker
./setup.sh java docker Warning: this tool might overwrite existing configurations. Items installed by defaultWe recommend that you look at Opt-In ConfigurationsPlease look in To install any of these, add them as arguments to # Common for Spring Boot development
./setup.sh java spring-boot docker
# Lots of languages
./setup.sh java ruby node golang python c
# Love those platforms!
./setup.sh golang docker kubernetes cloud-foundry terraform concourse AnalyticsThe tool will send anonymous user data to our Google Analytics account, so we can see what command line arguments are popular. You can disable this:
This will also disable brew's data collection. Having problems?If you're having problems using the setup script, please let us know by opening an issue. If you see errors from CustomizingIf you'd like to customize this project for a project's use:
Frequently Asked Questions and TroubleshootingQ: Can I rerun A: Yes, but with a but. While this script is not entirely idempotent, it does use homebrew's cache to skip reinstalling items, and is pretty lenient about ignoring errors when non-homebrew items get mad that they are already installed. There is no guarantee that some configurations won't be overwritten or duplicated. Q: Should I run this with A: No. Q: I'm getting permission errors such as the one below: Error: Can't create update lock in /usr/local/var/homebrew/locks!
Fix permissions by running:
sudo chown -R $(whoami) /usr/local/var/homebrew A: Short answer: run the suggested command or consider the Possible Solution described below. Longer answer: You might have multiple user profiles on your machine that are using homebrew (such as this tool) resulting in a mix of file and directory ownership under Possible Solution: Try this solution from itectec which makes homebrew's directories writable by the
Q: How to I get my change into this tool? A: Submit a PR, especially for things that are outdated or broken. But, we are being vigilant about keeping this tool lean after a history of letting many idiosyncratic changes creep in over the past few years. As stated above, you can edit the files yourself after downloading them and/or fork. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论