Skip to content
mistbow edited this page Mar 17, 2013 · 1 revision

1.Create project

First of all let`s create a new project(cd your own directory):

rails new cms_6bey -d mysql

This will create a new project called cms_6bey with mysql database

2. Init git environment

git init

Connect with remote repository

Git remote add origin https://github.com/mistbow/6bey.git

Maybe you will get 403 exception. Change the url to https://yourname@github.com/mistbow/6bey.git

3. Commit your project to the local repository

git add .

git commit -m "Init rails project with mysql database"

4. Merge code to the origin master

git merge origin

5. Push your code to the github

git push