dondi / GRNsight

Web app and service for modeling and visualizing gene regulatory networks.
http://dondi.github.io/GRNsight
BSD 3-Clause "New" or "Revised" License
17 stars 8 forks source link

Update local setups to include grnsettings #1062

Closed dondi closed 8 months ago

dondi commented 8 months ago

With the merging of #992 to beta, the GRNsight app now expects to have a grnsettings table and so local setups need to have this as well before merging/pulling the latest beta. Documentation can be found here:

https://github.com/dondi/GRNsight/tree/beta/database/grnsettings-database

kdahlquist commented 8 months ago
ntran18 commented 8 months ago

Some modification needs to be included in the documentation. These are modifications when running with M1 Mac.

  1. Indicate this is one command with examples image

  2. Command to login to the database (alternative command if the command provided got issue) psql <address to database>

  3. Insert the new database name INSERT INTO grnsettings(expression_dataset) VALUES ('the new default database name');

Need to know what is the default database name: Currently is 'dahlquist_2018'

dondi commented 8 months ago

Looks good; for the -f schema.sql command, we may as well move the -f schema.sql to right after psql because Windows requires it there; macOS also accepts it there

psql -f schema.sql postgresql://localhost/postgres

and

psql -f schema.sql -U postgres <address to database>
dondi commented 8 months ago

Final revisions were made to the documentation and the settings database has now been successfully set up for both @ntran18 and @nchun2