Advertisement
Guest User

Untitled

a guest
Feb 4th, 2020
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. create database
  2.  
  3. sudo -u postgres psql
  4.  
  5. CREATE DATABASE tryton_test WITH OWNER = postgres ENCODING = 'UTF8' LC_COLLATE = 'C' LC_CTYPE = 'C' TABLESPACE = pg_default CONNECTION LIMIT = -1 TEMPLATE template0;
  6. create role
  7.  
  8. CREATE ROLE tryton_test WITH LOGIN NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT NOREPLICATION CONNECTION LIMIT -1 PASSWORD 'tryton_test';
  9.  
  10. postgres=# \q
  11. make trytond.config
  12.  
  13. sudo mkdir /etc/tryton
  14.  
  15. sudo nano /etc/tryton/trytond.conf
  16. past: (sorry don’t remeber the source)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement