Commit Graph

15 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
Richie Zhang
8d4ab4555c Improve the yes/no prompt in install.sh (#683)
* Improve the yes/no prompt in install.sh

The old implementation used a feature only present on Bash version 4, which not all systems have. The new version should work on all bash shells.

* Update install.sh
2020-05-01 10:33:28 -04:00
Dessalines
62ab68d317 Adding full logging. 2020-03-13 11:08:42 -04:00
Richie Zhang
a8126b33bb Add line breaks after user prompts in install.sh 2020-02-08 13:02:40 -08:00
Richie Zhang
15ef4a7122 Add a semicolon. 2020-02-08 12:56:13 -08:00
Richie Zhang
186ad57858 Fix a user prompt in install.sh 2020-02-08 12:54:41 -08:00
Richie Zhang
8871dcef7d Add an option to initialize the database from install.sh 2020-02-08 12:53:46 -08:00
Dessalines
ef05f00983 Fixing install.sh db export. 2020-01-26 20:44:00 -05:00
Dessalines
f0808a1116 Adding custom language setting.
- Fixes #319
2019-12-09 00:24:53 -08:00
Dessalines
820af56387 Externalizing JWT token 2019-05-02 09:55:29 -07:00
Dessalines
66cbd050a1 Documentation 2019-04-26 09:15:17 -07:00
Felix Ableitner
c6ad290bc6 Add shebang to scripts 2019-04-26 17:49:14 +02:00
Dessalines
4ab28c01c6 Showing how to do live update developing in the install script. 2019-04-18 09:23:19 -07:00
Dessalines
b8c259f9e7 Adding expanding navbar, some docs 2019-04-06 15:49:51 -07:00