GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Databases/JavaScript/README.md at master · HowProgrammingWorks/Databases

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
20 lines (19 loc) · 1.25 KB
/

README.md

Copy path

File metadata and controls

20 lines (19 loc) · 1.25 KB
Raw
Copy raw file
Download raw file
Edit and raw actions

Подготовка окружения для работы с БД

  • Установка сервера для Linux, Windows, MacOS, BSD, Solaris
    • Дистрибутивы: https://www.postgresql.org/download/
    • Инструкция для Fedora: https://fedoraproject.org/wiki/PostgreSQL#Installation
    • Готовые скрипты: https://github.com/metarhia/impress/blob/master/deploy/
  • Установка PgSQL Admin
    • Дистрибутивы: https://www.pgadmin.org/download/
    • Для Fedora: dnf install pgadmin3
  • Создание пользователя и базу данных
    • su - postgres
    • psql попадаем в командную строку PostgreSQL
    • \password postgres устанавливаем паполь пользователю
    • создаем нового пользователя CREATE USER marcus WITH PASSWORD 'marcus';
    • создаем базу данных CREATE DATABASE application OWNER marcus;
    • \quit выходим
  • Исполняем файл с SQL скриптом создания базы
    • sudo psql -U marcus -d application -a -f example.sql
  • Установка зависимостей (включая модуль pg) npm i
  • Запуск node application.js
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.