Basic Rails project creation and Sharing with Github
I choose to practice coding on Aptana studio 3 because on some moment I found my eclipse clashing.
And before I might forget the steps, I will write it here for the future use. (might forget it!)
It will not be a problem because aptana is developed as a eclipse IDE so any plugin for eclipse can also be use on Aptana studio.
Create Rails Project – Aptana Studio
Step 1: Go to File -> New -> Rails Project (if Rails Project is not on the list, click on Project… and select Rails Project inside the pop-up window).
Step 2: Set a name for your project inside Project Name field.
To use my project on Github, I have to share and link the project to Github Repo.
**Sharing to a local repository
1.Right-Click on Project Name, select Team -> Share Project…. After you clicked on Share Project there will appear a new window.
-
Click on Project Name as it appears under Project column on the new window. Note: Do not click on Path or Repository because it will not select the instance of the project.
-
After you clicked on the Project Name, there will be an active button called Create on the bottom of the window. Click on it. Do not change the value of the input field next to the button because it automatically sets the address of .git-config file inside your Project Folder.
-
By clicking the Create button you will notice that Repository field will be populated with the .git-config file address. Click on Finish.
In this moment you will notice that your project name will have [master] added at the end of the name. This means that the project is shared.
And as long as you have linked the project, commiting and pushing is just a piece of cake!
That's all for this week.