mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
Merge pull request #25 from lapineige/patch-1
Add registration config information
This commit is contained in:
commit
99dd3f0e53
2 changed files with 6 additions and 1 deletions
|
@ -42,6 +42,11 @@ After being first registered, you need to execute the folloing command to promot
|
|||
|
||||
and respond yes to the question ` Add admin privileges to this user?`
|
||||
|
||||
### Allow/Close registration
|
||||
|
||||
Registrations are open by default.
|
||||
To change that setting, edit `/var/www/pixelfed/.env` and set `OPEN_REGISTRATION=false` instead of `true`.
|
||||
|
||||
## Documentation
|
||||
|
||||
* [Official documentation](https://docs.pixelfed.org/master/)
|
||||
|
|
|
@ -92,7 +92,7 @@ ynh_install_php --phpversion="7.2" --package="$extra_pkg_dependencies"
|
|||
ynh_print_info "Restoring the PostgreSQL database..."
|
||||
|
||||
ynh_psql_test_if_first_run
|
||||
ynh_psql_create_db "$db_name" "$db_name" "$db_pwd"
|
||||
ynh_psql_setup_db "$db_name" "$db_name" "$db_pwd"
|
||||
ynh_psql_execute_file_as_root ./db.sql "$db_name"
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue