- Install a default strapi project yarn create strapi-app
- choose PostgresSQL as the database [If yarn doesn't work, tr using npm - npx create-strapi-app@latest ]
-
Clone the git repository and copy its contents into the strapi project that's just been created. (If there are any conflicts between a default file and a file in the git repo, choose the file in the git repo)
-
cd into the project repository
-
Enter the command to run strapi npm run develop
-
The admin panel should open up. Create/Enter any username and password. (I haven't enabled any security yet)
-
In the root folder, there should be a folder named .tmp, cd into it
-
There should be a database file (.db) with the postgresSQL database information stored in it. This is where strapi is going to pull information from. If we wish to change the information stored in strapi (and thus displayed on the dashboard on the frontend), this is the file that needs to be changed
-
To update the .db file with the latest information from SWALLOW, download the latest SWALLOW .json file and open it in the PostgresSQL application.
-
Download the data from postgres in a .db format and put it in the .tmp folder
Additional Documentation: