mirror of
https://code.castopod.org/adaures/castopod
synced 2025-06-06 18:31:05 +00:00
New translations install.mdx (Norwegian Nynorsk)
[ci skip]
This commit is contained in:
parent
38c90996d8
commit
dd294adf96
@ -108,86 +108,81 @@ based on the `.env.example` file.
|
|||||||
|
|
||||||
1. Create a `.env` file in the package root based on the `.env.example` file.
|
1. Create a `.env` file in the package root based on the `.env.example` file.
|
||||||
|
|
||||||
2. Initialize the database using:
|
2. Gjer klar databasen ved hjelp av:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
php spark install:init-database
|
php spark install:init-database
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Create the superadmin user using:
|
3. Lag superadmin-brukaren med:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
php spark install:create-superadmin
|
php spark install:create-superadmin
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Head on to your admin gateway to start podcasting!
|
4. Gå til styringspanelet for å byrja med podkasting!
|
||||||
|
|
||||||
### Email/SMTP setup
|
### Epost/SMTP-oppsett
|
||||||
|
|
||||||
Email configuration is required for some features to work properly (eg.
|
Epostoppsett er naudsynt for at nokre av funksjonane skal verka skikkeleg (td. epostar for å nullstilla passord, senda rettleiingar til abonnentar oa.)
|
||||||
retrieving your forgotten password, sending instructions to premium subscribers,
|
|
||||||
…)
|
|
||||||
|
|
||||||
You may add your email configuration in your instance's `.env` like so:
|
Du kan skriva inn epostoppsettet for nettstaden din i `.env`-fila slik som dette:
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
# […]
|
# […]
|
||||||
|
|
||||||
email.fromEmail="your_email_address"
|
email.fromEmail="epostadressa_di"
|
||||||
email.SMTPHost="your_smtp_host"
|
email.SMTPHost="smtp-tenar"
|
||||||
email.SMTPUser="your_smtp_user"
|
email.SMTPUser="smtp-brukar"
|
||||||
email.SMTPPass="your_smtp_password"
|
email.SMTPPass="smtp-passord"
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Epost/SMTP-oppsett
|
#### Epost/SMTP-oppsett
|
||||||
|
|
||||||
| Variable name | Type | Default |
|
| Variabelnamn | Type | Standardval |
|
||||||
| ---------------- | -------------------- | ------------ |
|
| ---------------- | ----------------------- | ---------------- |
|
||||||
| **`fromEmail`** | string | `undefined` |
|
| **`fromEmail`** | streng | `udefinert` |
|
||||||
| **`fromName`** | string | `"Castopod"` |
|
| **`fromName`** | streng | `"Castopod"` |
|
||||||
| **`SMTPHost`** | string | `undefined` |
|
| **`SMTPHost`** | streng | `udefinert` |
|
||||||
| **`SMTPUser`** | string | `undefined` |
|
| **`SMTPUser`** | streng | `udefinert` |
|
||||||
| **`SMTPPass`** | string | `undefined` |
|
| **`SMTPPass`** | streng | `udefinert` |
|
||||||
| **`SMTPPort`** | number | `25` |
|
| **`SMTPPort`** | tal | `25` |
|
||||||
| **`SMTPCrypto`** | [`"tls"` or `"ssl"`] | `"tls"` |
|
| **`SMTPCrypto`** | [`"tls"` eller `"ssl"`] | `"tls"` |
|
||||||
|
|
||||||
### Media storage
|
### Medielagring
|
||||||
|
|
||||||
By default, files are saved to the `public/media` folder using the file system.
|
Mediefiler blir lagra i mappa `public/media` i filsystemet som standard.
|
||||||
If you need to relocate the `media` folder to a different location, you can
|
Viss du må flytta mappa `media` til ein annan stad, kan du skriva det inn i `.env`-fila som vist under:
|
||||||
specify it in your `.env` file as shown below:
|
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
# […]
|
# […]
|
||||||
|
|
||||||
media.root="media"
|
media.root="media"
|
||||||
media.storage="/mnt/storage"
|
media.storage="/mnt/lagring"
|
||||||
```
|
```
|
||||||
|
|
||||||
In this example, the files will be saved to the /mnt/storage/media folder. Make
|
I dette dømet blir filene lagra i mappa /mnt/lagring/media. Pass på at du oppdaterer vevtenaroppsettet med denne endringa.
|
||||||
sure to also update your web server configuration to reflect this change.
|
|
||||||
|
|
||||||
### S3
|
### S3
|
||||||
|
|
||||||
If you prefer storing your media files on an S3 compatible storage, you may
|
Viss du helst vil lagra mediefilene dine på ei S3-kompatibel lagringseining, kan du skriva det inn i `.env`-fila di:
|
||||||
specify it in your `.env`:
|
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
# […]
|
# […]
|
||||||
|
|
||||||
media.fileManager="s3"
|
media.fileManager="s3"
|
||||||
media.s3.endpoint="your_s3_host"
|
media.s3.endpoint="s3-vert"
|
||||||
media.s3.key="your_s3_key"
|
media.s3.key="s3-lykjel"
|
||||||
media.s3.secret="your_s3_secret"
|
media.s3.secret="s3-løynord"
|
||||||
media.s3.region="your_s3_region"
|
media.s3.region="s3-region"
|
||||||
```
|
```
|
||||||
|
|
||||||
#### S3 config options
|
#### Oppsettsval for S3
|
||||||
|
|
||||||
| Variable name | Type | Default |
|
| Variabelnamn | Type | Standardval |
|
||||||
| ----------------------- | ------- | ----------- |
|
| ------------------------- | ------- | --------------- |
|
||||||
| **`endpoint`** | string | `undefined` |
|
| **`endpoint`** | streng | `udefinert` |
|
||||||
| **`key`** | string | `undefined` |
|
| **`lykel`** | string | `undefined` |
|
||||||
| **`secret`** | string | `undefined` |
|
| **`secret`** | string | `undefined` |
|
||||||
| **`region`** | string | `undefined` |
|
| **`region`** | string | `undefined` |
|
||||||
| **`bucket`** | string | `castopod` |
|
| **`bucket`** | string | `castopod` |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user