Skip to content

betagouv/agir-cms

Repository files navigation

Installation et premier lancement local

Récupération du repo

git clone [email protected]:betagouv/agir-cms.git

Installation

Avoir une version de node adéquate

">=14.19.1 <=18.x.x"

Utiliser pour cela par exemple NVM :

nvm use 18

Installer les dépendences

yarn install

Copier le fichier .env.exemple en fichier .env

Récupérer les valeurs de la platforme Scalingo pour la section

APP_KEYS="toBeModified1,toBeModified2"
API_TOKEN_SALT=tobemodified
ADMIN_JWT_SECRET=tobemodified
TRANSFER_TOKEN_SALT=tobemodified
JWT_SECRET=tobemodified

Si vous utilisez le docker-compose fourni, alors le reste peut être renseigné comme suit

HOST=0.0.0.0
PORT=1337
DATABASE_CLIENT=postgres
DATABASE_HOST=127.0.0.1
DATABASE_PORT=2345
DATABASE_NAME=agir-cms
DATABASE_USERNAME=agir-cms
DATABASE_PASSWORD=agir-cms
DATABASE_SSL=false

Lancer la base de donnée configurée dans docker compose

npm run db:up

puis lancer le CMS

yarn develop

🚀 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

  • Resource center - Strapi resource center.
  • Strapi documentation - Official Strapi documentation.
  • Strapi tutorials - List of tutorials made by the core team and the community.
  • Strapi blog - Official Strapi blog containing articles made by the Strapi team and the community.
  • Changelog - Find out about the Strapi product updates, new features and general improvements.

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •