From 0b3271f3da7de2ee1fd8c416e5007c4b69853a71 Mon Sep 17 00:00:00 2001 From: tstaubitz Date: Thu, 10 Nov 2016 18:04:12 +0100 Subject: [PATCH] Update LOCAL_SETUP.md --- LOCAL_SETUP.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/LOCAL_SETUP.md b/LOCAL_SETUP.md index 29c49955..ac84515b 100644 --- a/LOCAL_SETUP.md +++ b/LOCAL_SETUP.md @@ -6,26 +6,26 @@ Install Vagrant - https://www.vagrantup.com/docs/installation/ Install VirtualBox - https://www.virtualbox.org/wiki/Downloads ## Install and setup -### Clone repository -Create a local codeOceanRoot: mkdir /path/to/CodeOcean ==> codeOceanRoot = /path/to/CodeOcean -Clone Repository (https://github.com/openHPI/codeocean) to codeOceanRoot -cd codeOceanRoot +### Clone repository +Create a local codeOceanRoot: mkdir /path/to/CodeOcean ==> codeOceanRoot = /path/to/CodeOcean +Clone Repository (https://github.com/openHPI/codeocean) to codeOceanRoot +cd codeOceanRoot ### Get Vagrant base image -vagrant box add ubuntu/trusty64 -vagrant up +vagrant box add ubuntu/trusty64 +vagrant up ### Trouble shooting -ln -s /etc/nginx/sites-available/code_ocean /etc/nginx/sites-enabled <= Failed (no such directory) +ln -s /etc/nginx/sites-available/code_ocean /etc/nginx/sites-enabled <= Failed (no such directory) -vagrant ssh -sudo apt-get install nginx -sudo ln -s /etc/nginx/sites-available/code_ocean /etc/nginx/sites-enabled +vagrant ssh +sudo apt-get install nginx +sudo ln -s /etc/nginx/sites-available/code_ocean /etc/nginx/sites-enabled ### Start server -vagrant ssh -cd /vagrant -rails s -p 3000 +vagrant ssh +cd /vagrant +rails s -p 3000 ### Login to CodeOcean 192.168.59.104:3000