Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean instances keyword from laravel storage page #1082

Merged
merged 3 commits into from
Oct 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions laravel/the-basics/laravel-volume-storage.html.markerb
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@
</div>


5. To fix the little storage-content-erasure issue as stated in the callout above, please go ahead and make a copy of your storage folder in a "backup" folder. You can name this directory "storage_".

Check notice on line 61 in laravel/the-basics/laravel-volume-storage.html.markerb

View workflow job for this annotation

GitHub Actions / vale

[vale] laravel/the-basics/laravel-volume-storage.html.markerb#L61

[Fly.Spelling] Is 'storage_' a typo?
Raw output
{"message": "[Fly.Spelling] Is 'storage_' a typo?", "location": {"path": "laravel/the-basics/laravel-volume-storage.html.markerb", "range": {"start": {"line": 61, "column": 191}}}, "severity": "INFO"}

```cmd
cp -r storage storage_
```

You'll later use this folder to copy over its contents to the volumized storage folder.

Check notice on line 67 in laravel/the-basics/laravel-volume-storage.html.markerb

View workflow job for this annotation

GitHub Actions / vale

[vale] laravel/the-basics/laravel-volume-storage.html.markerb#L67

[Fly.Spelling] Is 'volumized' a typo?
Raw output
{"message": "[Fly.Spelling] Is 'volumized' a typo?", "location": {"path": "laravel/the-basics/laravel-volume-storage.html.markerb", "range": {"start": {"line": 67, "column": 67}}}, "severity": "INFO"}

6. Next create a [Startup Script](/docs/laravel/the-basics/customizing-deployments/) that will initialize the volumized storage folder's contents.

Check notice on line 69 in laravel/the-basics/laravel-volume-storage.html.markerb

View workflow job for this annotation

GitHub Actions / vale

[vale] laravel/the-basics/laravel-volume-storage.html.markerb#L69

[Fly.Spelling] Is 'volumized' a typo?
Raw output
{"message": "[Fly.Spelling] Is 'volumized' a typo?", "location": {"path": "laravel/the-basics/laravel-volume-storage.html.markerb", "range": {"start": {"line": 69, "column": 112}}}, "severity": "INFO"}
```cmd
touch .fly/scripts/1_storage_init.sh
```
Expand All @@ -86,17 +86,17 @@
```

So what happened above?
- The condition statement checks if the app folder does not exist in the volumized storage folder. If it does not exist, it copies over the contents of the storage_ folder to the volumized storage folder.

Check notice on line 89 in laravel/the-basics/laravel-volume-storage.html.markerb

View workflow job for this annotation

GitHub Actions / vale

[vale] laravel/the-basics/laravel-volume-storage.html.markerb#L89

[Fly.Spelling] Is 'volumized' a typo?
Raw output
{"message": "[Fly.Spelling] Is 'volumized' a typo?", "location": {"path": "laravel/the-basics/laravel-volume-storage.html.markerb", "range": {"start": {"line": 89, "column": 78}}}, "severity": "INFO"}

Check notice on line 89 in laravel/the-basics/laravel-volume-storage.html.markerb

View workflow job for this annotation

GitHub Actions / vale

[vale] laravel/the-basics/laravel-volume-storage.html.markerb#L89

[Fly.Spelling] Is 'storage_' a typo?
Raw output
{"message": "[Fly.Spelling] Is 'storage_' a typo?", "location": {"path": "laravel/the-basics/laravel-volume-storage.html.markerb", "range": {"start": {"line": 89, "column": 161}}}, "severity": "INFO"}

Check notice on line 89 in laravel/the-basics/laravel-volume-storage.html.markerb

View workflow job for this annotation

GitHub Actions / vale

[vale] laravel/the-basics/laravel-volume-storage.html.markerb#L89

[Fly.Spelling] Is 'volumized' a typo?
Raw output
{"message": "[Fly.Spelling] Is 'volumized' a typo?", "location": {"path": "laravel/the-basics/laravel-volume-storage.html.markerb", "range": {"start": {"line": 89, "column": 184}}}, "severity": "INFO"}

7. <b>Finally, deploy your Laravel Fly App!</b>

```cmd
fly deploy
```

<div class="callout">
Fly Volume instances do not automatically sync their data with each other. Please remember to create the appropriate data-replication logic if your Fly App will be using more than one volume instance, and if your app requires data available across the volume instances.
</div>
Fly Volumes do not automatically sync their data with each other. Please remember to create the appropriate data-replication logic if your Fly App will be using more than one volume instance, and if your app requires data available across its Volumes.
</div>

#### **_Possible Errors_**

Expand Down
Loading