Update LOCAL_SETUP.md
This commit is contained in:
@ -6,26 +6,26 @@ Install Vagrant - https://www.vagrantup.com/docs/installation/
|
|||||||
Install VirtualBox - https://www.virtualbox.org/wiki/Downloads
|
Install VirtualBox - https://www.virtualbox.org/wiki/Downloads
|
||||||
|
|
||||||
## Install and setup
|
## Install and setup
|
||||||
### Clone repository
|
### Clone repository
|
||||||
Create a local codeOceanRoot: mkdir /path/to/CodeOcean ==> codeOceanRoot = /path/to/CodeOcean
|
Create a local codeOceanRoot: mkdir /path/to/CodeOcean ==> codeOceanRoot = /path/to/CodeOcean
|
||||||
Clone Repository (https://github.com/openHPI/codeocean) to codeOceanRoot
|
Clone Repository (https://github.com/openHPI/codeocean) to codeOceanRoot
|
||||||
cd codeOceanRoot
|
cd codeOceanRoot
|
||||||
|
|
||||||
### Get Vagrant base image
|
### Get Vagrant base image
|
||||||
vagrant box add ubuntu/trusty64
|
vagrant box add ubuntu/trusty64
|
||||||
vagrant up
|
vagrant up
|
||||||
|
|
||||||
### Trouble shooting
|
### 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
|
vagrant ssh
|
||||||
sudo apt-get install nginx
|
sudo apt-get install nginx
|
||||||
sudo ln -s /etc/nginx/sites-available/code_ocean /etc/nginx/sites-enabled
|
sudo ln -s /etc/nginx/sites-available/code_ocean /etc/nginx/sites-enabled
|
||||||
|
|
||||||
### Start server
|
### Start server
|
||||||
vagrant ssh
|
vagrant ssh
|
||||||
cd /vagrant
|
cd /vagrant
|
||||||
rails s -p 3000
|
rails s -p 3000
|
||||||
|
|
||||||
### Login to CodeOcean
|
### Login to CodeOcean
|
||||||
192.168.59.104:3000
|
192.168.59.104:3000
|
||||||
|
Reference in New Issue
Block a user