/strapi-cms

Primary LanguageTypeScript

🚀 UK Supreme Court Content Management System

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

prerequisites

To run this project, it is necessary to have an active MySQL instance as the data source. Fortunately, there is a convenient way to start a local MySQL instance using docker-compose. You can initiate it by executing the following command:

docker-compose --file docker-compose.local.yaml up

This will start the MySQL instance within Docker on localhost:3006. Additionally, it will also start the adminer instance, which serves as a Graphical User Interface (GUI) for connecting to MySQL and exploring the database.
Simply visit http://localhost:7000 in the browser to access the adminer GUI.

install

Install dependencies

yarn install

develop

Start the application in development mode with autoReload enabled. Learn more

yarn develop

Simply visit http://localhost:1337/admin in the browser to access the CMS admin panel.
You may also need to setup admin account with dummy username and password, if you are opening CMS for the very first time.

start

Start the application in production mode with autoReload disabled. Learn more

yarn start

build

Build application admin panel. Learn more

yarn build

docker-compose

To launch CMS and its dependencies in docker-compose mode, you can effortlessly start them by executing the following command.

docker-compose --file docker-compose.yaml up

This will start the CMS instance within Docker. Additionally, it will also start the MySQL and adminer instances. These all instances are configured to live in the same docker network and talk to each other.
Simply visit http://localhost:1337/admin in the browser to access the CMS admin panel.
Simply visit http://localhost:7000 in the browser to access the adminer GUI.

⚙️ Deployment

Strapi gives you many possible deployment options for your project. Find the one that suits you on the deployment section of the documentation.

📚 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.