Commit Graph

6 Commits

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
2020-07-10 18:15:41 +00:00
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.
2020-05-11 13:16:08 -04:00
pfcoder
6d73b16716 fix shell quotation error of server db-init.sh 2020-05-01 21:58:52 +08:00
Richard
ed07e98bff changed permissions from db-init.sh to be able to run 2020-02-14 21:30:06 +01:00
Richie Zhang
33563c3e9f Implement password verification in db-init.sh. 2020-02-06 13:07:34 -08:00
Richie Zhang
da6cdb7c26 Create db-init.sh 2020-02-05 18:15:28 -08:00