Skip to content

Commit

Permalink
add strapi content default local env
Browse files Browse the repository at this point in the history
  • Loading branch information
radoslavzeman committed Mar 25, 2024
1 parent 6c7a65e commit 3c12d51
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion strapi/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ APP_KEYS=VivFhCHdok6Ui4H1yhF8DA==,fkXjik+gn+fRLqatGAE8QQ==,M8eRp3VNi4dzdfHOTBlT7
API_TOKEN_SALT=ilrHJDUcrKxGMpxyBh32VA==
ADMIN_JWT_SECRET=odOY9wudFDnl//bE+nVWAQ==
JWT_SECRET=U4RUqp1ohkwtt6gRopMtdg==
STRAPI_PLUGIN_I18N_INIT_LOCALE_CODE=sk

DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_NAME=strapi
DATABASE_USERNAME=strapi
DATABASE_PASSWORD=password
DATABASE_SCHEMA=public
DATABASE_SCHEMA=public
1 change: 1 addition & 0 deletions strapi/kubernetes/base/.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ MINIO_BUCKET=strapi-homepage
DATABASE_CLIENT=postgres
DATABASE_HOST=bratislava-strapi-database
DATABASE_PORT=5432
STRAPI_PLUGIN_I18N_INIT_LOCALE_CODE=sk

#TEMP, replace with secrets
JWT_SECRET=U4RUqp1ohkwtt6gRopMtdg==
Expand Down
2 changes: 1 addition & 1 deletion strapi/src/admin/app.example.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default {
// 'zh',
],
},
bootstrap(app) {
bootstrap(app: any) {
console.log(app)
},
}
3 changes: 2 additions & 1 deletion strapi/src/admin/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ export default {
// Add slovak as option for strapi admin
locales: ['sk'],

// Disable video tutorials and new release notifications
// Disable video tutorials
tutorials: false,

// Disable notifications about new Strapi releases
notifications: {
releases: false,
},
Expand Down
2 changes: 1 addition & 1 deletion strapi/src/admin/webpack.config.example.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default (config, webpack) => {
export default (config: any, webpack: any) => {
// Note: we provide webpack above so you should not `require` it
// Perform customizations to webpack config
// Important: return the modified config
Expand Down

0 comments on commit 3c12d51

Please sign in to comment.