mattddowney / compose-postgrest Goto Github PK
View Code? Open in Web Editor NEWPostgres, PostgREST, and Swagger UI conveniently wrapped up with docker-compose
Postgres, PostgREST, and Swagger UI conveniently wrapped up with docker-compose
Database initialization scripts (world.sql, create-anon-role.sh) failed to run when I use docker-compose up -d
on Windows.
The error given was /bin/bash^M: bad interpreter: No such file or directory
. By changing the line endings for the file create-anon-role.sh to 'LF' instead of 'CRLF' in my editor I was able to fix the problem.
I'm fairly certain this was due to my git config settings, (core.autocrlf = true
) but since this is the recommended setting for Windows I thought it might be worth adding a warning in the README for Windows users.
This S.O. was helpful in actually diagnosing the error message.
This S.O. is about the core.autocrlf
setting on Windows.
I just found your PostgREST demo which is great for testing the API. How can I import the world.sql demo data ? Its not imported at first run, the SQL is in the initdb folder beside a create-anon-role.sh script. So everything is correct.
The compose stack is running fine only the data is missing.
thanks for help!
Can you kindly add an example to connect to an external postgres server?
Making requests from Swagger results in a network error because the PostgREST openAPI URI isn't configured. I'll open a PR with the change I made to get this working locally.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.