Sign inSign up

giovannilamarmora/strapi-cms

By giovannilamarmora

•Updated 26 days ago

Strapi Container with MySQL and SQLLite

Image
API management
0

2.9K

giovannilamarmora/strapi-cms repository overview

⁠🚀 Getting started with Strapi

Strapi comes with a full featured Command Line Interface⁠ (CLI) which lets you scaffold and manage your project in seconds.

⁠develop

Start your Strapi application with autoReload enabled. Learn more⁠

npm run develop
# or
yarn develop
⁠start

Start your Strapi application with autoReload disabled. Learn more⁠

npm run start
# or
yarn start
⁠build

Build your admin panel. Learn more⁠

npm run build
# or
yarn build

⁠⚙️ Deployment

Strapi gives you many possible deployment options for your project including Strapi Cloud⁠. Browse the deployment section of the documentation⁠ to find the best solution for your use case.

⁠📚 Learn more

Feel free to check out the Strapi GitHub repository⁠. Your feedback and contributions are welcome!

⁠✨ Community

  • Discord⁠ - Come chat with the Strapi community including the core team.
  • Forum⁠ - Place to discuss, ask questions and find answers, show your Strapi project and get feedback or just talk with other Community members.
  • Awesome Strapi⁠ - A curated list of awesome things related to Strapi.

🤫 Psst! Strapi is hiring⁠.

⁠Environment Variables

To run this project, you will need to add the following environment variables to your .env file
NODE_ENV The environment in which the application is running.

DATABASE_CLIENT The database client to use.

DATABASE_HOST The database host.

DATABASE_PORT The database port.

DATABASE_NAME The database name.

DATABASE_USERNAME The database username.

DATABASE_PASSWORD The database password.

JWT_SECRET The secret used to sign the JWT for the Users-Permissions plugin.

ADMIN_JWT_SECRET The secret used to sign the JWT for the Admin panel.

APP_KEYS The secret keys used to sign the session cookies.`

⁠Run Locally

Clone the project

  git clone https://link-to-project

Go to the project directory

  cd my-project

Install dependencies

npm install

Start the server

npm run start

⁠FAQ

⁠ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client

Run this command on your client database:

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
flush privileges;

Tag summary

Content type

Image

Digest

sha256:ac6b1ab78…

Size

488.1 MB

Last updated

26 days ago

docker pull giovannilamarmora/strapi-cms