https://github.com/ChristianChiarulli/LunarVim
You can follow the steps in the README file, install required dependencies
| # BAD each iteration loads invoice model | |
| class Company < ApplicationRecord | |
| has_many :invoices | |
| end | |
| class Invoice < ApplicationRecord | |
| belongs_to :company | |
| end |
https://github.com/ChristianChiarulli/LunarVim
You can follow the steps in the README file, install required dependencies
| ########################### | |
| # Configuration | |
| ########################### | |
| # use 256 term for pretty colors | |
| # set -g default-terminal "screen-256color" # making tmux slow | |
| set -g default-terminal "xterm-256color" | |
| # Enable mouse support | |
| set -g mouse on |
Create the app and download the necessary dependencies.
Create the app and download the necessary dependencies.
| # This is example contains the bare mininum to get nginx going with | |
| # unicorn servers. Generally these configuration settings | |
| # are applicable to other HTTP application servers (and not just Ruby | |
| # ones), so if you have one working well for proxying another app | |
| # server, feel free to continue using it. | |
| # | |
| # The only setting we feel strongly about is the fail_timeout=0 | |
| # directive in the "upstream" block. max_fails=0 also has the same | |
| # effect as fail_timeout=0 for current versions of nginx and may be | |
| # used in its place. |
First you need to install nodejs either from http://nodejs.org/ or using nvm node version manager tool.
https://github.com/facebookincubator/create-react-app is a better way to scaffold react app, so give it a try
| FROM appbase | |
| # install npm & bower packages | |
| WORKDIR /root | |
| COPY package.json bower.json /root/ | |
| RUN npm install --only=prod && \ | |
| npm cache clean && \ | |
| bower install --allow-root | |
| # install gems |