Getting Started - NIAID-Data-Ecosystem/nde-strapi GitHub Wiki
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. Can set to random strings.
build
Build your admin panel. Learn more
npm run build
# or
yarn build
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