From c6941676ba9546e8ec451f5f289122a26aa7a070 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Tue, 15 Aug 2017 23:52:29 +0300 Subject: [PATCH] Revert "formatting" This reverts commit 7b2bded06f8602707ab0f76d1898998943d2ea5c. --- README.html | 112 ---------------------------------------------------- README.md | 2 + 2 files changed, 2 insertions(+), 112 deletions(-) delete mode 100644 README.html diff --git a/README.html b/README.html deleted file mode 100644 index f62ab585a..000000000 --- a/README.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - -README.html - - - - - -

Pleroma

- -

Installation

- -

Dependencies

- - - -

Installing dependencies on Debian system

- -

PostgreSQL 9.6 should be available on debian stable (Jessie) from "main" area. Install it using apt: apt install postgresql-9.6. Make sure that postgresql-9.5 or older is not installed, for some strange reason debian allows multiple versions to coexist, what effect it has - i don't know.

- -

You must install elixir 1.4+ from elixir-lang.org, because Debian repos only have 1.3.x version. You will need to add apt repo to sources.list(.d) and import GPG key. Follow instructions here: https://elixir-lang.org/install.html#unix-and-unix-like (See "Ubuntu or Debian 7"). This should be valid until Debian updates elixir in their repositories. Package you want is named elixir, so install it using apt install elixir

- -

NodeJS is available as nodejs package on debian. apt install nodejs. Debian stable has 4.8.x version. If that does not work, use nodesource's repo https://github.com/nodesource/distributions#deb - version 5.x confirmed to work.

- -

Preparation

- - - -

Database preparation

- - - -

Some additional configuration

- - - -

Now you can visit localhost:4000 from your browser.

- -

Ready to run in production? Please check our deployment guides.

- -

Learn more

- - - - - diff --git a/README.md b/README.md index d0aeaebd0..72a6fa835 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,7 @@ NodeJS is available as `nodejs` package on debian. `apt install nodejs`. Debian * You most likely don't want having some application accessing database as superuser, so you need to create separate user for that. Right now it must be done manually (issue #27). * Open psql shell as postgres user: (as root) `su postgres -c psql` * Create a new PostgreSQL user: + ```sql \c pleroma_dev CREATE user pleroma; @@ -53,6 +54,7 @@ NodeJS is available as `nodejs` package on debian. `apt install nodejs`. Debian GRANT ALL ON ALL tables IN SCHEMA public TO pleroma; GRANT ALL ON ALL sequences IN SCHEMA public TO pleroma; ``` + * Again, change password in `config/dev.exs`, and change user to `"pleroma"` (line like `username: "postgres"`) ### Some additional configuration