This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist | |
2) rm -rf /usr/local/var/postgres | |
3) initdb /usr/local/var/postgres -E utf8 | |
4) createdb | |
5) launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This document is outdated. | |
You should read David Bryant Copeland's excellent online book: http://angular-rails.com/crud_recipe.html | |
--------------------------------------------------------------------------------------------------------------- | |
I think it's better to install javascript/css libraries using Bower rather than gem which is Ruby packager. | |
1. Install Rails 4 and create a new project. | |
2. Install bower(Note you need to install node first.) | |
sudo npm install -g bower |