Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jay Mehta
/
strapi-setup-file
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Registry
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 23eb4915
authored
2023-12-01 14:45:19 +0530
by
jay
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
basic set up
1 parent
00138363
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
36 additions
and
36 deletions
config/plugins.js
src/admin/extensions/favicon.ico
src/admin/extensions/logo.png
src/extensions/favicon.ico
src/extensions/logo.png
config/plugins.js
View file @
23eb491
module
.
exports
=
({
env
})
=>
({
module
.
exports
=
({
env
})
=>
({
// ...
// ...
// Reference: https://github.com/strapi/strapi/tree/main/packages/providers/email-nodemailer
// Reference: https://github.com/strapi/strapi/tree/main/packages/providers/email-nodemailer
email
:
{
//
email: {
config
:
{
//
config: {
provider
:
"nodemailer"
,
//
provider: "nodemailer",
providerOptions
:
{
//
providerOptions: {
host
:
env
(
"SMTP_HOST"
,
"smtp.example.com"
),
//
host: env("SMTP_HOST", "smtp.example.com"),
port
:
env
(
"SMTP_PORT"
,
587
),
//
port: env("SMTP_PORT", 587),
auth
:
{
//
auth: {
user
:
env
(
"SMTP_USERNAME"
),
//
user: env("SMTP_USERNAME"),
pass
:
env
(
"SMTP_PASSWORD"
),
//
pass: env("SMTP_PASSWORD"),
},
//
},
// ... any custom nodemailer options
//
// ... any custom nodemailer options
},
//
},
settings
:
{
//
settings: {
defaultFrom
:
"from@example.com"
,
//
defaultFrom: "from@example.com",
// defaultReplyTo: "hello@example.com"
//
// defaultReplyTo: "hello@example.com"
},
//
},
},
//
},
},
//
},
// ...
// ...
// ...
// ...
// Reference: https://www.npmjs.com/package/@strapi/provider-upload-aws-s3
// Reference: https://www.npmjs.com/package/@strapi/provider-upload-aws-s3
upload
:
{
//
upload: {
config
:
{
//
config: {
provider
:
"aws-s3"
,
//
provider: "aws-s3",
providerOptions
:
{
//
providerOptions: {
accessKeyId
:
env
(
"AWS_ACCESS_KEY_ID"
),
//
accessKeyId: env("AWS_ACCESS_KEY_ID"),
secretAccessKey
:
env
(
"AWS_ACCESS_SECRET"
),
//
secretAccessKey: env("AWS_ACCESS_SECRET"),
region
:
env
(
"AWS_REGION"
),
//
region: env("AWS_REGION"),
params
:
{
//
params: {
Bucket
:
env
(
"AWS_BUCKET"
),
//
Bucket: env("AWS_BUCKET"),
},
//
},
},
//
},
actionOptions
:
{
//
actionOptions: {
upload
:
{},
//
upload: {},
uploadStream
:
{},
//
uploadStream: {},
delete
:
{},
//
delete: {},
},
//
},
},
//
},
},
//
},
// ...
// ...
});
});
src/admin/extensions/favicon.ico
View file @
23eb491
No preview for this file type
src/admin/extensions/logo.png
View file @
23eb491
11.8 KB
|
W:
|
H:
3.6 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/extensions/favicon.ico
View file @
23eb491
No preview for this file type
src/extensions/logo.png
View file @
23eb491
11.8 KB
|
W:
|
H:
3.6 KB
|
W:
|
H:
2-up
Swipe
Onion skin
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment