Plugin is inspired by this article
yarn strapi install audit-log
You have to enable plugin in your middleware config
// config/middleware.js
module.exports = {
settings: {
pluginAuditLogTrails: {
enabled: true
},
},
}
yarn create strapi-app audit-log-plugin-test --quickstart
cd audit-log-plugin-test
# creat sym link for clonned plugin repo:
yarn dev --watch-admin
-
Clone repo
-
Create symlink for custom
strapi-plugin-audit-log
# MacOS
ln -s {{ROOT_PATH}}/strapi-plugin-audit-log {{ROOT_PATH}}/audit-log-plugin-test/plugins/audit-log
rem Windows
New-Item -ItemType SymbolicLink -Name .\examples\getstarted\plugins\menu -Target .\packages\strapi-plugin-menu\
- Code installation/setup
# cd {{ROOT_PATH}}/
# cd {{ROOT_PATH}}/examples/getstarted
yarn build
yarn dev # its alias for `yarn develop --watch-admin`
# open URLs:
> http://localhost:8000/admin
> http://127.0.0.1:1337/documentation/v1.0.0
> http://localhost:1337/graphql
set HOST
env variable for localhost
HOST=127.0.0.0