Start rails app from git
What do I need to do if I want to use https://github.com/holden/devise-omniauth-example as my starting poin开发者_如何学Pythont for my app?
I'm developing on OSx and I'm a noob. I'd like to start with a pre-built auth system and go from there. New to git too--I think I want to pull from git? or start a new rails app as a template?
To use that. You need to install git. Check out homebrew to install git, makes life easier.
Next do
git clone https://github.com/holden/devise-omniauth-example.git
cd devise-omniauth-example
and you are good to go after changing some configs, mostly db.
I would recommend starting from scratch and reading about devise. It may take a bit longer, but will make life easier in the long run.
In command line:
git clone git://github.com/holden/devise-omniauth-example.git
This will download the whole app you'll be able to use after configuring your database and having bundled the gemfile.
精彩评论