deno_pg/readme.md

12 lines
569 B
Markdown
Raw Permalink Normal View History

2022-03-26 00:34:22 -04:00
otherwise...
* install deno
2022-03-26 00:45:24 -04:00
* `curl -fsSL https://deno.land/x/install/install.sh | sh`
* follow the instructions that print at the end of the script about setting up deno info in your bashrc
* `exec bash` to use the .bashrc changes
2022-03-26 00:34:22 -04:00
* copy `.env.example` to `.env` and update the parameters in it
* run `deno run --allow-read --allow-net --unstable --allow-env index.js`
2022-03-26 00:45:24 -04:00
sometimes you need to run `deno cache -r index.js` due to stale code sitting in the cache.
The database uses a cert to encrypt traffic. if the cert is expired it will need dealt with.