From a774e0a2a1affa51bad3afdca6e9ae3f64b5976a Mon Sep 17 00:00:00 2001 From: fruechtchen Date: Wed, 24 Jun 2020 18:08:17 +0000 Subject: update lemmy council memberlist --- docs/src/contributing.md | 6 +++--- docs/src/lemmy_council.md | 6 ++++-- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'docs') diff --git a/docs/src/contributing.md b/docs/src/contributing.md index 69d2f42e..fdfaa2b8 100644 --- a/docs/src/contributing.md +++ b/docs/src/contributing.md @@ -4,9 +4,9 @@ Information about contributing to Lemmy, whether it is translating, testing, des ## Issue tracking / Repositories -- [GitHub (for issues)](https://github.com/LemmyNet/lemmy) -- [Gitea](https://yerbamate.dev/LemmyNet/lemmy) -- [GitLab](https://gitlab.com/dessalines/lemmy) +- [GitHub (for issues and pull requests)](https://github.com/LemmyNet/lemmy) +- [Gitea (only for pull requests)](https://yerbamate.dev/LemmyNet/lemmy) +- [GitLab (only code-mirror)](https://gitlab.com/dessalines/lemmy) ## Translating diff --git a/docs/src/lemmy_council.md b/docs/src/lemmy_council.md index 96234ff9..08c25fb8 100644 --- a/docs/src/lemmy_council.md +++ b/docs/src/lemmy_council.md @@ -49,5 +49,7 @@ ## Member List / Contact Info General Contact [@LemmyDev Mastodon](https://mastodon.social/@LemmyDev) -- Dessalines [Matrix](https://matrix.to/#/@happydooby:matrix.org) -- Nutomic [Matrix](https://matrix.to/#/@nutomic:matrix.org), [Mastodon](https://radical.town/@felix) +- [Dessalines](https://dev.lemmy.ml/u/dessalines) +- [Nutomic](https://dev.lemmy.ml/u/nutomic) +- [AgreeableLandscape](https://dev.lemmy.ml/u/AgreeableLandscape) +- [fruechtchen](https://dev.lemmy.ml/u/fruechtchen) \ No newline at end of file -- cgit v1.2.3 From 0c89de8065f7eada7f7d2e6b5d988fd15a250c6c Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Fri, 26 Jun 2020 19:16:41 +0200 Subject: Fix previous comment, also fix link in docs --- docs/src/administration_configuration.md | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'docs') diff --git a/docs/src/administration_configuration.md b/docs/src/administration_configuration.md index 8900ce8d..cc421b0b 100644 --- a/docs/src/administration_configuration.md +++ b/docs/src/administration_configuration.md @@ -1,13 +1,20 @@ # Configuration -The configuration is based on the file [defaults.hjson](server/config/defaults.hjson). This file also contains documentation for all the available options. To override the defaults, you can copy the options you want to change into your local `config.hjson` file. +The configuration is based on the file +[defaults.hjson](https://yerbamate.dev/LemmyNet/lemmy/src/branch/master/server/config/defaults.hjson). +This file also contains documentation for all the available options. To override the defaults, you +can copy the options you want to change into your local `config.hjson` file. -Additionally, you can override any config files with environment variables. These have the same name as the config options, and are prefixed with `LEMMY_`. For example, you can override the `database.password` with -`LEMMY__DATABASE__POOL_SIZE=10`. +Additionally, you can override any config files with environment variables. These have the same +name as the config options, and are prefixed with `LEMMY_`. For example, you can override the +`database.password` with `LEMMY__DATABASE__POOL_SIZE=10`. -An additional option `LEMMY_DATABASE_URL` is available, which can be used with a PostgreSQL connection string like `postgres://lemmy:password@lemmy_db:5432/lemmy`, passing all connection details at once. +An additional option `LEMMY_DATABASE_URL` is available, which can be used with a PostgreSQL +connection string like `postgres://lemmy:password@lemmy_db:5432/lemmy`, passing all connection +details at once. -If the Docker container is not used, manually create the database specified above by running the following commands: +If the Docker container is not used, manually create the database specified above by running the +following commands: ```bash cd server -- cgit v1.2.3 From afe3b6b2fcaf08a84f92bfdff9228e54132e2de7 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Sat, 27 Jun 2020 15:28:45 +0200 Subject: Add docs for testing (fixes #841) --- docs/src/SUMMARY.md | 1 + docs/src/contributing_tests.md | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 docs/src/contributing_tests.md (limited to 'docs') diff --git a/docs/src/SUMMARY.md b/docs/src/SUMMARY.md index bff5cbf6..a2bf5856 100644 --- a/docs/src/SUMMARY.md +++ b/docs/src/SUMMARY.md @@ -14,6 +14,7 @@ - [Contributing](contributing.md) - [Docker Development](contributing_docker_development.md) - [Local Development](contributing_local_development.md) + - [Tests](contributing_tests.md) - [Federation Development](contributing_federation_development.md) - [Websocket/HTTP API](contributing_websocket_http_api.md) - [ActivityPub API Outline](contributing_apub_api_outline.md) diff --git a/docs/src/contributing_tests.md b/docs/src/contributing_tests.md new file mode 100644 index 00000000..13e5d122 --- /dev/null +++ b/docs/src/contributing_tests.md @@ -0,0 +1,18 @@ +### Tests + +#### Rust + +After installing [local development dependencies](contributing_local_development.md), run the +following commands in the `server` subfolder: + +```bash +psql -U lemmy -c "DROP SCHEMA public CASCADE; CREATE SCHEMA public;" +export DATABASE_URL=postgres://lemmy:password@localhost:5432/lemmy +diesel migration run +RUST_TEST_THREADS=1 cargo test +``` + +### Federation + +Install the [Docker development dependencies](contributing_docker_development.md), and execute +`docker/federation-test/run-tests.sh` -- cgit v1.2.3