Guest User

Untitled

a guest
Sep 27th, 2018
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.18 KB | None | 0 0
  1. const DB_HOST = process.env.DB_HOST || 'localhost';
  2. const DB_NAME = process.env.DB_NAME || 'nombre_base_dato';
  3. const DB_USER = process.env.DB_USER || 'postgres';
  4. const DB_PASS = process.env.DB_PASS || 'postgres';
  5. const DB_CHARSET = process.env.DB_CHARSET || 'utf-8';
  6. const DB_CLIENT = process.env.DB_CLIENT || 'postgresql';
  7.  
  8. module.exports = {
  9. development: {
  10. client: "postgresql",
  11. connection: {
  12. host: "localhost",
  13. user: "postgres",
  14. password: "postgres",
  15. database: "abeedb",
  16. charset: "utf-8"
  17. }
  18. },
  19.  
  20. production: {
  21. client: DB_CLIENT,
  22. connection: {
  23. host: DB_HOST,
  24. user: DB_USER,
  25. password: DB_PASS,
  26. database: DB_NAME,
  27. charset: DB_CHARSET
  28. }
  29. }
  30. }
  31.  
  32. heroku help
  33.  
  34. access manage user access to apps
  35. addons manage add-ons
  36. apps manage apps
  37. authorizations OAuth authorizations
  38. buildpacks manage the buildpacks for an app
  39. certs a topic for the ssl plugin
  40. ci run an application test suite on Heroku
  41. clients OAuth clients on the platform
  42. config manage app config vars
  43. domains manage the domains for an app
  44. drains list all log drains
  45. features manage optional features
  46. git manage local git repository for app
  47. keys manage ssh keys
  48. labs experimental features
  49. local run heroku app locally
  50. logs display recent log output
  51. maintenance manage maintenance mode for an app
  52. members manage organization members
  53. notifications display notifications
  54. orgs manage organizations
  55. pg manage postgresql databases
  56. pipelines manage collections of apps in pipelines
  57. plugins manage plugins
  58. ps manage dynos (dynos, workers)
  59. redis manage heroku redis instances
  60. regions list available regions
  61. releases manage app releases
  62. run run a one-off process inside a Heroku dyno
  63. sessions OAuth sessions
  64. spaces manage heroku private spaces
  65. status status of the Heroku platform
  66. teams manage teams
Add Comment
Please, Sign In to add comment