Skip to content

Instantly share code, notes, and snippets.

@crmaxx
Last active July 2, 2018 09:21
Show Gist options
  • Save crmaxx/5db610c0e783c2850e669c6f68036b96 to your computer and use it in GitHub Desktop.
Save crmaxx/5db610c0e783c2850e669c6f68036b96 to your computer and use it in GitHub Desktop.
Modern Frontend variant
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev \
libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common \
libffi-dev libgmp-dev libreadline6-dev ibgdbm-dev libncurses5-dev automake libtool bison
sudo apt-get install postgresql-10 postgresql-client-10 postgresql-contrib-10 libpq-dev
sudo -u postgres createuser crmaxx -s
# If you would like to set a password for the user, you can do the following
sudo -u postgres psql
postgres=# \password crmaxx
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install nodejs
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
/etc/sysctl.conf
fs.inotify.max_user_watches = 999999
fs.inotify.max_queued_events = 999999
fs.inotify.max_user_instances = 999999
sudo apt-add-repository -y ppa:rael-gc/rvm
sudo apt-get update
sudo apt-get install rvm
rails new newapp --skip-coffee --skip-sprockets --skip-turbolinks --webpack --database=postgresql -T
yarn add babel-eslint eslint eslint-config-airbnb-base eslint-config-prettier eslint-import-resolver-webpack eslint-plugin-import eslint-plugin-prettier lint-staged pre-commit prettier -D
yarn add stylelint stylelint-config-standard -D
yarn add normalize.css
yarn add postcss-nested
yarn add actioncable
yarn add turbolinks
yarn add rails-ujs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment