- Start a Postgres instance, for example
docker run -p 5432:5432 -e POSTGRES_PASSWORD=password -d postgres- Open a psql client shell
psql -h localhost -p 5432 -U postgres -d postgres
Password for user postgres: <enter password>
| <!doctype html> | |
| <head> | |
| <link href="css/bootstrap.css" rel="stylesheet"> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript" id="jquery"></script> | |
| </head> | |
| <html> | |
| <title>localchat</title> | |
| <body> | |
| <h1>Sorry, we don't have much stuff yet!</h1> | |
| <!--- |
| var async = require('async'); //Dat speed | |
| exports.loadAudioDefault = function(req, res) | |
| { | |
| //This route returns a json object with an array of all the MongoDB documents | |
| //returned by the query. These documents are audio files. | |
| this.db.collection('audio', function(err, collection) | |
| { | |
| var audio = { | |
| 'audio':[], | |
| 'settings':{ |