1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Corrected instruction for cloning the repo

This commit is contained in:
Jeremy Stretch
2016-06-29 23:49:59 -04:00
parent 1c49909e2c
commit a010a6dde5

View File

@ -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