Commit Graph

6 Commits (195bf022bb38499754263f71d52b0596ebd0e333)

Author SHA1 Message Date
nutomic 80aef61aed Split code into cargo workspaces (#67)
More fixes

- fixed docker builds
- fixed mentions regex test
- fixed DATABASE_URL stuff
- change schema path in diesel.toml

Address review comments

- add jsonb column back into activity table
- remove authors field from cargo.toml
- adjust LEMMY_DATABASE_URL env var usage
- rename all occurences of LEMMY_DATABASE_URL to DATABASE_URL

Decouple utils and db

Split code into cargo workspaces

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/67
4 years ago
Richie Zhang d17316508c Improve shell scripts (#705)
* Improve init-db.sh

Allow custom database parameters.
Abstract common functionality.

* Improve install.sh

Abstract common functionality.
Ask to automagically reload the project when source files are changed.
4 years ago
pfcoder 6d73b16716 fix shell quotation error of server db-init.sh 4 years ago
Richard ed07e98bff changed permissions from db-init.sh to be able to run 5 years ago
Richie Zhang 33563c3e9f Implement password verification in db-init.sh. 5 years ago
Richie Zhang da6cdb7c26 Create db-init.sh 5 years ago