summaryrefslogtreecommitdiff
path: root/docs/development/setting_up_pleroma_dev.md
diff options
context:
space:
mode:
authorHaelwenn <contact+git.pleroma.social@hacktivis.me>2024-01-21 12:03:29 +0000
committerHaelwenn <contact+git.pleroma.social@hacktivis.me>2024-01-21 12:03:29 +0000
commitab3f03a04a34f2e267bef649ea7d055df583e43e (patch)
tree41c555d32f0805a45f553ae348b9bf42158e9426 /docs/development/setting_up_pleroma_dev.md
parenta5f64ffd0cba5e183744cf46506656ba61d36eda (diff)
parent548434f85ccaa4a77c460fb5bda37153ea6e9c39 (diff)
downloadpleroma-ab3f03a04a34f2e267bef649ea7d055df583e43e.tar.gz
pleroma-ab3f03a04a34f2e267bef649ea7d055df583e43e.zip
Merge branch 'develop' into 'public-polls'
# Conflicts: # docs/development/API/differences_in_mastoapi_responses.md
Diffstat (limited to 'docs/development/setting_up_pleroma_dev.md')
-rw-r--r--docs/development/setting_up_pleroma_dev.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/development/setting_up_pleroma_dev.md b/docs/development/setting_up_pleroma_dev.md
index 8da761d62..24f358e4a 100644
--- a/docs/development/setting_up_pleroma_dev.md
+++ b/docs/development/setting_up_pleroma_dev.md
@@ -15,7 +15,7 @@ Pleroma requires some adjustments from the defaults for running the instance loc
2. Change the dev.secret.exs
* Change the scheme in `config :pleroma, Pleroma.Web.Endpoint` to http (see examples below)
* If you want to change other settings, you can do that too
-3. You can now start the server `mix phx.server`. Once it's build and started, you can access the instance on `http://<host>:<port>` (e.g.http://localhost:4000 ) and should be able to do everything locally you normaly can.
+3. You can now start the server `mix phx.server`. Once it's build and started, you can access the instance on `http://<host>:<port>` (e.g.http://localhost:4000 ) and should be able to do everything locally you normally can.
Example config to change the scheme to http. Change the port if you want to run on another port.
```elixir
@@ -38,7 +38,7 @@ config :logger, :console,
## Testing
-1. Create a `test.secret.exs` file with the content as shown below
+1. Create a `config/test.secret.exs` file with the content as shown below
2. Create the database user and test database.
1. You can use the `config/setup_db.psql` as a template. Copy the file if you want and change the database name, user and password to the values for the test-database (e.g. 'pleroma_local_test' for database and user). Then run this file like you did during installation.
2. The tests will try to create the Database, so we'll have to allow our test-database user to create databases, `sudo -Hu postgres psql -c "ALTER USER pleroma_local_test WITH CREATEDB;"`