Strapi
Tutorial: Strapi Install
Note: Password login back-end demo
admin@admin.com/Admin@123
Install strapi: https://www.youtube.com/watch?v=Bz_M8r1ay5E
Yarn build
Step 1: Use Yarn to Install Dependencies: Navigate to your project directory and run the following command to install the necessary dependencies:
yarn install
Step 2: Create and Update .env
File: Create a.env
file in the root directory of your project. This file will contain environment-specific variables. Here's an example of what it might look like:
JWT_SECRET=your_jwt_secret
API_TOKEN_SALT=your_api_token_salt
Replace your_jwt_secret
and your_api_token_salt
with your actual values.
Step 3: Start the App: You can start the app by running the following command in your terminal:
yarn dev
Publish the App: For publishing the app, you should follow the official Strapi documentation. Here is the link to the deployment documentation: Strapi Deployment Documentation
Please replace the placeholders in the .env
file with your actual data. Also, ensure that you have Node.js and npm installed on your system before installing Yarn.
Last updated