Commit Graph

13 Commits

Author SHA1 Message Date
Nick Bland
fcf0bea45f
Update to Rust 2021
Also update dependencies and codebase to reflect 2021 standards and changes (tokio tests, etc)
2022-01-03 18:13:39 +10:00
Nick Bland
bfcaa6f487
Digital Ocean Deployment 2022-01-03 17:11:11 +10:00
Nick Bland
6741ed9e14
Final fixes for docker optimisation
Also fixed up error of forgetting to include an await in the main function
2021-11-16 20:55:54 +10:00
Nick Bland
e2c83c817b
CHEFerise docker app to make it more efficient 2021-11-16 15:50:00 +10:00
Nick Bland
0a31ae482b
Very large docker image size optimisations
without cross compiling to linux-musl, optimise image by compiling it on a slim rust image and then transferring only the binary over to a debian-slim image.
2021-11-16 15:40:32 +10:00
Nick Bland
c9e564d48f
Make application dockerised
Update mail_app to also have different forms of configuration outside of a single base yaml file. Allows local or production configurations to be established.
2021-11-16 14:34:05 +10:00
Nick Bland
1f06f5e66f
Changes to allow more dynamic logging
Logs in much greater detail using the tracing packages and formatted using Bunyan. Advised to install bunyan on machine for more pretty logs over raw json.
2021-11-16 13:50:32 +10:00
Nick Bland
a746b45f78
Implement changes to allow database connection for insertions
Also updated tests to reflect the new PgPool format being used. Tests now create a mock database on creation to determine if it works before removing it. Up to Chapter 4.
2021-11-08 15:41:52 +10:00
Nick Bland
6db0a7bc86
implement test changes regarding database
also added .env for database connection details (used by sqlx)
2021-11-07 00:23:49 +10:00
Nick Bland
782796486e
Seperate into multiple files. Add configuration options 2021-11-07 00:08:33 +10:00
Nick Bland
33c5cf0adc
Update gitignore 2021-11-05 14:17:36 +10:00
Nick Bland
78311c8cb3
Add in framework for post requests for user subscriptions
Complete up to page 45
2021-11-04 15:09:22 +10:00
Nick Bland
0466015771
initial commit 2021-10-22 12:38:38 +10:00