diff --git a/README.rdoc b/README.rdoc index 87a6e49e..a00e3c0d 100644 --- a/README.rdoc +++ b/README.rdoc @@ -44,43 +44,41 @@ Install rvm source ~/.rvm/scripts/rvm -Install ruby 2.1.2 +Install ruby 2.3.1 - rvm install ruby 2.1.2 + rvm install ruby 2.3.1 - rvm use 2.1.2 + rvm use 2.3.1 -Install rails 4.0.1 +Install rails 4.2.5 - gem install rails -v 4.0.1 + gem install rails -v 4.2.5 Install necessary libraries sudo apt-get install imagemagick libmagickwand-dev +Clone the code + + git clone git@github.com:indentlabs/notebook.git + Install gems bundle install + +Create database + + rake db:create Run initial database migrations rake db:migrate -Optional: To enable the uploading and editing of images (used in Locations management, etc), you will need to create a file named set_aws_credentials.rb with the following content: - - [[ $_ != $0 ]] && echo "Ready to run your server!" || echo "This script needs to be sourced!" - - export AWS_BUCKET="" - export AWS_ACCESS_KEY_ID="" - export AWS_SECRET_ACCESS_KEY="" - -And then set your AWS credentials with - - source set_aws_credentials.rb - Finally, run the server with rails server + +You should now see a copy of the site running locally at http://localhost:3000/! == Deployment to notebook.ai