To install the Structure101 Soda Dependency Database natively please following the instructions below:
-
Install Postgres per the following instructions:
-
Linux: https://www.devart.com/dbforge/postgresql/how-to-install-postgresql-on-linux
-
OS X: https://www.postgresqltutorial.com/postgresql-getting-started/install-postgresql-macos
-
Install node (recommended version: v16.13.1)
-
Download and extract the soda.zip in a directory, and configure the .env file as per the database that has been set up instep 1.
-
Open the soda directory where the above zip has been extracted, and run 'npm install'
-
Once all the above is done, simply run 'node/nodemon server.js', this will start the Soda server on the port specified in the .env file.
-
Go to the migrations module in soda, http://localhost/migrations, and click on run migrations, this will bring up the schema for soda and your database will be ready for publishing.
-
Now your Soda Dependency Database is setup you can publish your first project using either Studio or Build publishing.