Host images locally
Some checks failed
PHP Unit / PHPUnit test suite (pull_request) Has been cancelled
Laravel Pint / Laravel Pint (pull_request) Has been cancelled

We don’t need the complexity of S3. Sepcifically the complexity of
managing my own AWS account, flysystem made the Laravel side easy.

A command is added to copy the the S3 files over to local storage.
This commit is contained in:
Jonny Barnes 2024-10-25 20:40:52 +01:00
parent d80e8164c8
commit d7da42b626
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
47 changed files with 295 additions and 214 deletions

View file

@ -16,7 +16,7 @@ class ArticlesTest extends TestCase
/** @test */
public function titleSlugIsGeneratedAutomatically(): void
{
$article = new Article();
$article = new Article;
$article->title = 'My Title';
$article->main = 'Content';
$article->save();
@ -27,7 +27,7 @@ class ArticlesTest extends TestCase
/** @test */
public function markdownContentIsConverted(): void
{
$article = new Article();
$article = new Article;
$article->main = 'Some *markdown*';
$this->assertEquals('<p>Some <em>markdown</em></p>' . PHP_EOL, $article->html);