Skip to content

Getting Started

Candice edited this page Apr 16, 2024 · 5 revisions

Clone the repo and install the dependencies

npm install
# or
yarn 

Configure the environment variables

APP_KEYS="toBeModified1,toBeModified2"
API_TOKEN_SALT=tobemodified 
ADMIN_JWT_SECRET=tobemodified
JWT_SECRET=tobemodified
TRANSFER_TOKEN_SALT=tobemodified
# Development
HOST=0.0.0.0
PORT=1337
# Database
DATABASE_CLIENT=sqlite
DATABASE_FILENAME=.tmp/data.db
JWT_SECRET=tobemodified

APP_KEYS, API_TOKEN_SALT and ADMIN_JWT_SECRET are required in order to run the application locally.

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

Clone this wiki locally