Skip to content

Commit

Permalink
Merge pull request #6 from Rojo/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
Rojo authored Sep 3, 2017
2 parents c8a8ad3 + 44e3d5d commit 19562ab
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gemrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gem: --no-document
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ a better option is to use [SSHF][2] or [NFS][3].

* **[Rails 5.1.x][11]**: And other gems to aid the development of web apps.

* **[Node.js 8.2.x][6]**: Server side JavaScript runtime.
* **[Yarn][12] and [Webpacker][13]**: For Rails projects with heavy use of JavaScript.

* **[Node.js 6.11.x][6]**: Server side JavaScript runtime.

* **[Postgres 9.5][7]**: Advanced SQL database.

Expand All @@ -49,7 +51,8 @@ a better option is to use [SSHF][2] or [NFS][3].
* **[Heroku CLI][9]**: Tool for creating and managing Heroku apps from the
the command line.

* **ZSH Shell (With Oh-My-Zsh!)**
* **ZSH Shell (With [Oh-My-Zsh!][14] and Antigen)** Tools to improve experience of
working with the shell.

---
[0]: https://serverless.com/
Expand All @@ -64,3 +67,6 @@ a better option is to use [SSHF][2] or [NFS][3].
[9]: https://devcenter.heroku.com/articles/heroku-cli
[10]: https://www.heroku.com/
[11]: http://weblog.rubyonrails.org/2017/4/27/Rails-5-1-final/
[12]: https://yarnpkg.com/
[13]: https://github.com/rails/webpacker
[14]: http://ohmyz.sh/
22 changes: 17 additions & 5 deletions provision/box_setup.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ echo "***************************************************"
echo "Checking for Node.js... "
echo "***************************************************"
if ! node --version; then
nvm install 8.2
nvm use 8.2
nvm install 6.11
nvm use 6.11
else
echo 'OK'
fi
Expand All @@ -47,9 +47,9 @@ if ! ruby -v; then
rvm get head
rvm install ruby-2.4.1
rvm use ruby-2.4.1@global
gem update --system
gem update
gem install bundler rails rspec-rails cucumber-rails pg redis-rails
gem update --system --no-ri --no-rdoc
gem update --no-ri --no-rdoc
gem install bundler rails rspec-rails cucumber-rails pg redis-rails webpacker --no-ri --no-rdoc
rvm use ruby-2.4.1 --default
sudo apt-get autoremove
else
Expand Down Expand Up @@ -100,3 +100,15 @@ if ! heroku --version; then
else
echo 'OK'
fi


# Install Yarn package manager ################################################

echo "***************************************************"
echo "Checking Yarn installation..."
echo "***************************************************"
if ! dpkg -s yarn; then
curl -sS 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 -y yarn
fi

0 comments on commit 19562ab

Please sign in to comment.