Giter Club home page Giter Club logo

Comments (16)

mattn avatar mattn commented on July 17, 2024 3

Not a problem. Please add following line into your .bashrc.

If you doesn't define GOPATH:

export PATH=$HOME/go/bin:$PATH

Or if you define GOPATH, but your GOPATH doesn't have two directories:

export PATH=$GOPATH/bin:$PATH

from goreman.

mattn avatar mattn commented on July 17, 2024 2

see $GOPATH/bin/goreman

from goreman.

mattn avatar mattn commented on July 17, 2024 2

Try to type in your bash prompt.

go get github.com/mattn/goreman

If you go an error, please show me the error

ls $HOME/go/bin/goreman

Please confirm binary was installed

which goreman

Please confirm you added $GOPATH/bin into $PATH.

goreman

Please confirm you can run goreman

from goreman.

mattn avatar mattn commented on July 17, 2024 2

You still have problem to add $GOPATH/bin into $PATH.

export PATH=$PATH:$GOROOT/bin:$GOPATH/bin"

Last double-quote is not required?

from goreman.

manishshambu avatar manishshambu commented on July 17, 2024

Should I add it into my ./bash_profile?

from goreman.

mattn avatar mattn commented on July 17, 2024

If you want.

from goreman.

manishshambu avatar manishshambu commented on July 17, 2024

Manishs-MacBook-Pro:bin manishshambu$ ./goreman
Tasks:
goreman check # Show entries in Procfile
goreman help [TASK] # Show this help
goreman export [FORMAT] [LOCATION] # Export the apps to another process
(upstart)
goreman run COMMAND [PROCESS...] # Run a command
start
stop
stop-all
restart
restart-all
list
status
goreman start [PROCESS] # Start the application
goreman version # Display Goreman version

Options:
-b uint
base number of port (default 5000)
-basedir string
base directory
-f string
proc file (default "Procfile")
-p uint
port (default 8555)
Manishs-MacBook-Pro:bin manishshambu$ goreman version
-bash: goreman: command not found

Still getting this

from goreman.

mattn avatar mattn commented on July 17, 2024

Do you understand PATH environment variable?

from goreman.

manishshambu avatar manishshambu commented on July 17, 2024

Could you please elaborate a little more and help me to set the path. I could not figure out.

from goreman.

manishshambu avatar manishshambu commented on July 17, 2024

export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin"
export PATH=$GOPATH/bin:$PATH

I have the following newly added path variables in my ./bash_profile and I still get the error. (Restarted my terminal) I'm not sure why I get the same error.

from goreman.

mattn avatar mattn commented on July 17, 2024

I have the following newly added path variables in my ./bash_profile and I still get the error. (Restarted my terminal) I'm not sure why I get the same error.

Did you remove previous addition into .bash_profile which error occured.

from goreman.

manishshambu avatar manishshambu commented on July 17, 2024

Yes

from goreman.

mattn avatar mattn commented on July 17, 2024

Let's organize problem. What the error you see?

from goreman.

manishshambu avatar manishshambu commented on July 17, 2024

Manishs-MacBook-Pro:~ manishshambu$ goreman start
-bash: goreman: command not found

I have all my path variables set.
I have go installed.

from goreman.

manishshambu avatar manishshambu commented on July 17, 2024

Manishs-MacBook-Pro:~ manishshambu$ go get github.com/mattn/goreman
Manishs-MacBook-Pro:~ manishshambu$ ls $HOME/go/bin/goreman

/Users/manishshambu/go/bin/goreman
Manishs-MacBook-Pro:~ manishshambu$ which goreman
Manishs-MacBook-Pro:~ manishshambu$ goreman

-bash: goreman: command not found
Manishs-MacBook-Pro:~ manishshambu$ tail ~/.bash_profile
export GOOGLE_APPLICATION_CREDENTIALS="/Users/manishshambu/Documents/HRI/googlePrivateKey/privateKey.json"
export PYTHONPATH=$PYTHONPATH:"/Users/manishshambu/Desktop/pyAudioAnalysis/"

Setting PATH for Python 2.7
The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}
export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/b​in
export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin"
export PATH=$GOPATH/bin:$PATH

from goreman.

manishshambu avatar manishshambu commented on July 17, 2024

Worked!

from goreman.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.