doc/sample.sh in milia-1.0.1 vs doc/sample.sh in milia-1.1.0

- old
+ new

@@ -1,11 +1,11 @@ # ********************************************************************* # HOW TO SET IT UP -- sample-milia-app # ********************************************************************* # This is how to get a working app using rails/milia/devise # together with a simple but attractive web-app-theme. -# I havve added generators which automate all of the steps listed in +# I have added generators which automate all of the steps listed in # manual_sample.sh (if you want to see the details). # It is based on my dev environment which is Ubuntu 13.10 on a PC. YMMV. # # The "app" itself is merely a simple barebones structure to display # an index page, require sign-in to do anything else, has a sign-up @@ -59,14 +59,14 @@ # ********************************************************************* # STEP 0 - PREREQUISITES & EXPECTED BACKGROUND PREPARATION # ********************************************************************* -# this background is what I've done on my Ubuntu dev workstation -# so if you want to follow exactly, you'll need similar. -# none of this is required for milia; only to exactly bring up -# this sample-milia-app. +# This background is what I've done on my Ubuntu dev workstation +# so if you want to follow exactly, you'll need a similar setup. +# None of this is required for milia, only to bring up this +# sample-milia-app. # make sure you have your ssh keys gen'd $ ssh-keygen # make sure you have some basic packages on your system @@ -76,18 +76,18 @@ # Install RVM on your system; see rvm.io for more information $ \curl -L https://get.rvm.io | bash -s stable # do any adjustments to your .bashrc, etc files as needed -# make sure to install ruby 2.0.0 - $ rvm install 2.0.0 +# make sure to install ruby 2.1.3 + $ rvm install 2.1.3 # I have all my projects in a directory called "projectspace' $ mkdir projectspace $ rvm gemset create projectspace $ echo "projectspace" > projectspace/.ruby-gemset - $ echo "2.0.0" > projectspace/.ruby-version + $ echo "2.1.3" > projectspace/.ruby-version $ cd projectspace # install rails (latest version) $ gem install rails @@ -116,11 +116,11 @@ $ cd projectspace # if not there already $ rails new sample-milia-app --skip-bundle $ echo "sample-milia-app" > sample-milia-app/.ruby-gemset - $ echo "2.0.0" > sample-milia-app/.ruby-version + $ echo "2.1.3" > sample-milia-app/.ruby-version $ echo "web: bundle exec thin start -R config.ru -p $PORT -e $RACK_ENV" > sample-milia-app/Procfile $ rvm gemset create sample-milia-app $ cd sample-milia-app # change .gitignore to match your development environment @@ -147,10 +147,10 @@ # then, enable rubyracer in Gemfile by de-commenting gem 'therubyracer', platforms: :ruby # finally, ADD the following lines to Gemfile >>>>>>>>>>>>>>>>>>>>>> - ruby "2.0.0" # heroku likes this at the head, as line 2 + ruby "2.1.3" # heroku likes this at the head, as line 2 # ========================================================= # sample-milia-app specific stuff # ========================================================= # Bundle the extra gems: