-
Notifications
You must be signed in to change notification settings - Fork 15
Chapter 3: Create and Connect to a Program Database
On the initial launch of RAMSTK after installation, RAMSTK detects that the Site database server connection information is not set. You will be presented with a dialog similar to that shown below.

Fill in the information for the Site database server. The following assumes the values in Chapter 2 were used when setting up the Site database server.
- From the database dialect drop down, select postgres (this is the only option at the moment).
- In the database server entry, enter the name of the Site database server.
- In the RAMSTK user and RAMSTK password entries, enter ramstk.
- Check the box next to 'Save Connection Parameters'. This will update the Site.toml file and you will not be prompted to provide the Site database connection parameters again.

Now press the 'OK' button. RAMSTK will connect to the Site database ramstk_common_ramstk and launch the main application. You will be presented with a window similar to that below.

To create a new RAMSTK Program database, press the create new database button
to the far left on the tool bar. Optionally, select File -> New Program from the menu bar. You will be presented with the Program database dialog. Fill in the necessary information for the RAMSTK Program database server. Check the button next to 'Save Connection Parameters' and these values will be saved to your RAMSTK.toml file. When RAMSTK launches in the future, these fields will be automatically populated with the same information for your convenience.

Now press the 'OK' button. RAMSTK will create and connect to the new Program database, auxiliary_power_supply in this example. You will be presented with a window similar to that below. RAMSTK is connected to the auxiliary_power_supply Program database and the Revision module is selected.

To connect to an existing RAMSTK Program database, press the open database button
second from the left on the tool bar. Optionally, select File -> Open from the menu bar. You will be presented with the Program database dialog. All the fields will be filled in from the information in your RAMSTK.toml file. The database name can be manually entered in the appropriate field or selected from the list at the bottom of the dialog.

Press the 'OK' button and RAMSTK will connect to the Program database.