Please update the README as and when there are significant changes to the code that should be replicated by the other developers. For example, if you changed the default database or when you added new rake task, etc.
This project would use git for version control. Please make sure the following.
- Write good commit messages with proper one line or possible description about commit message
- NOTE: Do NOT use git push -f
Please use git flow, whenever you start to create a feature, make that in a feature branch. Once you complete your feature branch merge into the develop branch and push. Do not merge into master directly
Some resources related to git flow:
The current testing framework used is rspec
along with capybara
, factory_girl
, if you are including your testing framework please make a mention. Try to do TDD or BDD.
- Make sure you don't litter models or controllers with too many methods. Use
concerns
to extract common logic. - Make sure you don't litter view with too sphagetti code. Use
partials
,helpers
to extract. - Use OOP as and when needed, do not use primitve data types like hash or list unnecessarily.
- eg: Student = { name: "Rahul", age: 22} X
- Use class Student end;
- Ruby on Rails 4
- Ruby - 2.0.0
- sqlite3 (database)
- postgres (production)
In future Redis will be used for session storage so it is recommended you install sudo apt-get install redis-server
Live site : c4u
The password is "custom"
- ssh [email protected]
- It is advised to use
ssh-copy-id [email protected]
so that you could ssh without entering password after one time - The app is in apps/custom/current, do not run task unless you are sure.