Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
webchild-api/database setup readme.readme
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
8 lines (6 sloc)
629 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DATABASE SETUP README: | |
1. Create schema and tables. For this, execute the SQL statements in file 'schema_commands.sql'. | |
2. Once schema is created, copy the data present in files 'word_details.data', 'activity_details.data', and 'comparable_details.data' to tables 'webchildapi.word_details', 'webchildapi.activity_details', and 'webchildapi.comparable_details' respectively. Following commands can be used in psql: | |
\copy webchildapi.word_details from '<path>/word_details.data'; | |
\copy webchildapi.activity_details from '<path>/activity_details.data'; | |
\copy webchildapi.comparable_details from '<path>/comparable_details.data'; |