This file contains hidden or 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
Installation steps for running Ruby On Rails. | |
Step 1: | |
Download install ubuntu system from ubuntu site. | |
Step 2: | |
Open terminal install the following requirements | |
SSH: |
This file contains hidden or 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
Sublime text 3: | |
sudo add-apt-repository ppa:webupd8team/sublime-text-3 | |
sudo apt-get update | |
sudo apt-get install sublime-text-installer | |
Sublime text 2: | |
sudo add-apt-repository ppa:webupd8team/sublime-text-2 | |
sudo apt-get update | |
sudo apt-get install sublime-text |
This file contains hidden or 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
If you dont have git just install: | |
sudo apt-get install git | |
Copy the following configuration past it in your terminal: | |
git config --global alias.st status | |
git config --global alias.ci commit | |
git config --global alias.br branch | |
git config --global alias.co checkout | |
git config --global alias.sta stash |
This file contains hidden or 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
Steps as follows | |
---------------- | |
Add to gem file: | |
gem 'to_xls', '~> 1.0.0' | |
Create a renderer for xls: | |
config/initializers/xls_renderer.rb: | |
paste the following send data code: |
This file contains hidden or 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
upstream unicorn { | |
server unix:/tmp/unicorn.store.sock fail_timeout=0; | |
} | |
server { | |
listen 80 default deferred; | |
# To enable ssl on your server for checkout and admin functionality | |
# add this line | |
listen 443 ssl; |
This file contains hidden or 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
Step 1: Add pg addons to heroku apps. | |
heroku addons:add pgbackups | |
Step 2: Capture db data as dump | |
heroku pgbackups:capture --expire | |
Step 3: download the dump |
This file contains hidden or 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
Before install ember-cli need some package to install. | |
NPM - Node Package Manager | |
sudo apt-get purge nodejs npm | |
sudo apt-get install -y python-software-properties python g++ make software-properties-common | |
sudo add-apt-repository ppa:chris-lea/node.js | |
sudo apt-get update | |
sudo apt-get install nodejs |
This file contains hidden or 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
In your app directory | |
npm install ember-cli-foundation-sass --save-dev | |
ember g foundation-sass | |
//In Brokfile.js add this | |
var app = new EmberApp({ | |
'foundation-sass': { | |
'modernizr': true, //includes modernizer |
This file contains hidden or 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
sudo apt-get install xvfb | |
sudo apt-get install x11-xkb-utils | |
sudo apt-get install xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic |
This file contains hidden or 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
Make sure Xcode installed in your MAC | |
$ xcode-select -p | |
Configure Git | |
$ git config -l --global | |
fatal: unable to read config file '/Users/.../.gitconfig': No such file or directory | |
$ git config --global user.name "Your Real Name" | |
$ git config --global user.email [email protected] | |
$ git config -l --global |
OlderNewer