Creating a new local pg database:
$ sudo su - postgres
# log in as postgres
$ createuser
# Enter name of role to add: username
# Shall the new role be a superuser? (y/n) n
# Shall the new role be allowed to create databases? (y/n) n| var person = { | |
| firstName: "JSON", | |
| lastName: "Lim", | |
| aptitude: "Awesome", | |
| philosophy: "All SQL is based on selection" | |
| }; |
| // Standard device screen widths | |
| $iphone-portrait: 320px | |
| $iphone-landscape: 480px | |
| $ipad-portrait: 767px | |
| $ipad-landscape: 980px | |
| $desktop: 1224px | |
| $desktop-large: 1824px | |
| // General device targeting | |
| // Use: Only use if you want the style to apply to many devices |
Creating a new local pg database:
$ sudo su - postgres
# log in as postgres
$ createuser
# Enter name of role to add: username
# Shall the new role be a superuser? (y/n) n
# Shall the new role be allowed to create databases? (y/n) n