From a010a6dde578d13a2d6d21c7464045225775e2b3 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Wed, 29 Jun 2016 23:49:59 -0400 Subject: [PATCH] Corrected instruction for cloning the repo --- docs/getting-started.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index 55233a831..273bc0a1f 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -93,10 +93,10 @@ If `git` is not already installed, install it: # sudo apt-get install git ``` -Next, clone the NetBox git repository into the current directory: +Next, clone the **master** branch of the NetBox GitHub repository into the current directory: ``` -# git clone https://github.com/digitalocean/netbox.git . +# git clone -b master https://github.com/digitalocean/netbox.git . Cloning into '.'... remote: Counting objects: 1994, done. remote: Compressing objects: 100% (150/150), done. @@ -166,6 +166,7 @@ You may use the script located at `netbox/generate_secret_key.py` to generate a Before NetBox can run, we need to install the database schema. This is done by running `./manage.py migrate` from the `netbox` directory (`/opt/netbox/netbox/` in our example): ``` +# cd /opt/netbox/netbox/ # ./manage.py migrate Operations to perform: Apply all migrations: dcim, sessions, admin, ipam, utilities, auth, circuits, contenttypes, extras, secrets, users