aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/29.RPKI.CA.UI.GUI.Installing.wiki
blob: 9a273d8f6c92b786ed3728e7d96d8888e1f6126f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[[TracNav(doc/RPKI/TOC)]]
[[PageOutline]]

= Installing the Web Portal for the First Time =

This page documents how to install the web portal software.  '''If you have previously installed the software''', see [[wiki:doc/RPKI/CA/UI/GUI/Upgrading]] for instructions.

== Prerequisites ==

This page assumes that you have already followed the steps to install the CA software (see [[wiki:doc/RPKI/Installation]])

This page assumes that you have already created `/etc/rpki.conf` (see [[wiki:doc/RPKI/CA/Configuration]])

== Create Database Tables ==

This step creates the tables used by the web portal in the database.  Run the following commands in the shell (you do not need to be ''root'', just have permission to read `/etc/rpki.conf`):

{{{#!sh
rpki-manage syncdb --noinput
rpki-manage migrate
}}}

Note that at the end of the `syncdb` output you will see the following message:
{{{
Not synced (use migrations):
 - rpki.gui.app
(use ./manage.py migrate to migrate these)
}}}

You should '''ignore the message about running ./manage.py''' since that script does not exist in our setup (we use `rpki-manage` instead`).

== Next Step ==

See [[wiki:doc/RPKI/CA/UI/GUI/Configuring]]