This repo contains a script which will help you setup for the Go discovery workshop at Holberton School
If you are on one of the school's computers, use the following commands in your terminal:
- Clone this repository: - git clone https://github.com/holbertonschoolstudents/Go-Discovery.git
- Go inside the directory of the repo: - cd Go-Discovery
- Unpack the 'createGopath.tar.gz' file: - tar -xvf createGopath.tar.gz - It should display x createGopath.bash if everything is successful
- Run the script file that was just unpacked:
- bash createGopath.bash (this may take a few moments to complete) - Source your profile: - source ~/.bash_profile
- Open Atom from your terminal (!important): - atom . - or, if that fails, use: open -a atom
- Through Atom, install the go-plus package: - find the package installer in ATOM>PREFERENCES, and click on the INSTALL menu tab. Finally, use the search box to find 'go-plus' and install the package!
If you are not on one of the school's computers, and are using Mac OS, you can still follow these directions but you will first need to install Go version 1.6 (https://golang.org/doc/install), and the Atom editor (https://atom.io/).