I'm working on Mac OSX (10.6.8), and I've just installed the Heroku toolbelt, with hopes of trying to mess around making facebook apps. I've created a facebook app and according to Heroku's instructions, I should just be able to edit it by entering this into my command line:
git clone git#heroku.com:false-title-1234.git -o heroku
The Heroku Toolbelt is installed and I am logged in. But when I run the command above I get this error:
-bash: git: command not found
I didn't have git before, and apparently I still do not have it. But I thought it came as part of the Heroku toolbelt? It seems like, for everyone else on the internet, the git part of it "just works," because I'm not able to find references to problems with the git component of the heroku toolbelt. Any ideas as to what I'm doing wrong?
Just install git on your own. Heroku-toolbelt may or may not come with git, but installing git by itself is a relatively simple task.
Here are some instructions for installing git on OSX: https://help.github.com/articles/set-up-git
Related
I have currently made a repository on GitHub and I am using react redux to make a small app example.
I have installed the necessary requirements that it works for me, but if I clone my app, I get a warning, react-scripts: command not found. I am a little confused at what I have done wrong. Surely if I installed yarn into my project, shouldn't it be available for someone to immediately look at it using yarn start?
If your node_modules folder is in .gitignore file then you have to re-install the dependencies.
After cloning the repository,make sure to enter into the cloned directory using:-
cd cloned-directory
And then run:-
yarn
And then run:-
yarn start
I am trying to setup the rhc client for openshift. I followed the tutorial precisely. After installing ruby, git and the rhc gem, the setup went perfect. But it wont clone my app to my computer. When I type rhc git-clone it says that git is not installed, but git --version works fine.
Ok, git installs itself default in users\\appdata\local\Git . I read somewhere that you shouldn't mess with the folder. But older versions installed in program files. So i tried that and rhc found it immediatly.
So just install git in C:\Program Files\Git
Just an additional piece of information to RiverWalker's self answer: run the git install as 'administrator'. Then "C:\Program Files\Git" directory will be used as the default installation dir.
I am new to command line and have no idea how to use. I have Putty command line and would like to connect to my GitHub. Putty asks for a "Hostnamne/IP address". I do not know what to insert so it can work. Could anyone please help me?
PuTTY isn't something that you would use to connect directly to GitHub. It is an SSH client, but you need a Git client. Since GitHub doesn't provide interactive SSH, PuTTY won't be of much use.
I'm going to assume you're on Windows since that's where PuTTY is most often used. You can install the latest official release of Git for Windows, but it's probably worth installing one of the recent 2.x prereleases instead. These will be the official versions very shortly.
Once you have Git installed you should be able to run "Git Bash", which will drop you into a command line. At this point you can use git clone to clone an existing repository, git init to create a brand new one, or any number of other things. You'll probably want to find a tutorial or read a book before going much further.
If you'd prefer a graphical Git client there are many options.
What i'm doing:
I have been trying to deploy an Octopress Blog using github as host and jekyll and liquid for designing purpose.
I have installed all necessary file like gitBash for windows , Jekyll , Octopress ,RubyGem and even DevKit. I can see my blog preview using 'rake preview' and its coming completely fine as it should. Also 'rake generate' and 'rake deploy' worked fine on gitBash and gave me a positive reply.
Am unclear with 3 things:
Do i have to copy my _deploy folder to github repository.
Getting 2 error on GitBash:
1.Change machine code to 65001(For which i have used chcp 65001 on cmd)
2.Permission Denied on public key when using rake deploy command.
Also i see a ruby gem error sometimes like Polling for changes and then i have to use ctrl+C to get out of terminal
I can give you many links for tutorials too but if there's any one who can help me practically socially;p then it will be real help.
Also when am on my source folder from gitbash i typed git push -u origin master am getting following two errors.
This is my first time using Octopress, although I've deployed multiple rails apps to heroku. Whatever I do, I unable to deploy my Octopress app to heroku. When I do, all I get is a blank page.
What I did was:
git clone git://github.com/imathis/octopress.git
cd octopress
bundle install
rake install
rake preview # working on localhost
heroku create
git add .
git commit -m "yo"
git push heroku master
heroku open
But it always shows a blank page. I'm obviously missing something very stupid. Any help would be appreciated.
I had the same problem. You will need to push at least one blog post. Once you have your first post, your blog will come up instead of the blank page. When you add more posts and/or modify existing ones don't forget to use "rake generate" (like I forgot and then did not understand why the posts on Heroku don't update).