logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: d72d42f9cee985ded26684ca16ef795a1344c071
parent 99b07c817e65d8855069a996777d41a9984f93bf
Author: feld <feld@feld.me>
Date:   Wed, 20 Dec 2023 19:13:03 +0000

Merge branch 'testsecrets' into 'develop'

Clarify location of test.secret.exs file

See merge request pleroma/pleroma!4010

Diffstat:

Achangelog.d/testsecrets.skip0
Mdocs/development/setting_up_pleroma_dev.md2+-
2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/changelog.d/testsecrets.skip b/changelog.d/testsecrets.skip diff --git a/docs/development/setting_up_pleroma_dev.md b/docs/development/setting_up_pleroma_dev.md @@ -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;"`