Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 37 additions & 57 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,57 +1,37 @@
# 🚀 Getting started with Strapi

Strapi comes with a full featured [Command Line Interface](https://docs.strapi.io/dev-docs/cli) (CLI) which lets you scaffold and manage your project in seconds.

### `develop`

Start your Strapi application with autoReload enabled. [Learn more](https://docs.strapi.io/dev-docs/cli#strapi-develop)

```
npm run develop
# or
yarn develop
```

### `start`

Start your Strapi application with autoReload disabled. [Learn more](https://docs.strapi.io/dev-docs/cli#strapi-start)

```
npm run start
# or
yarn start
```

### `build`

Build your admin panel. [Learn more](https://docs.strapi.io/dev-docs/cli#strapi-build)

```
npm run build
# or
yarn build
```

## ⚙️ Deployment

Strapi gives you many possible deployment options for your project including [Strapi Cloud](https://cloud.strapi.io). Browse the [deployment section of the documentation](https://docs.strapi.io/dev-docs/deployment) to find the best solution for your use case.

## 📚 Learn more

- [Resource center](https://strapi.io/resource-center) - Strapi resource center.
- [Strapi documentation](https://docs.strapi.io) - Official Strapi documentation.
- [Strapi tutorials](https://strapi.io/tutorials) - List of tutorials made by the core team and the community.
- [Strapi blog](https://strapi.io/blog) - Official Strapi blog containing articles made by the Strapi team and the community.
- [Changelog](https://strapi.io/changelog) - Find out about the Strapi product updates, new features and general improvements.

Feel free to check out the [Strapi GitHub repository](https://github.com/strapi/strapi). Your feedback and contributions are welcome!

## ✨ Community

- [Discord](https://discord.strapi.io) - Come chat with the Strapi community including the core team.
- [Forum](https://forum.strapi.io/) - Place to discuss, ask questions and find answers, show your Strapi project and get feedback or just talk with other Community members.
- [Awesome Strapi](https://github.com/strapi/awesome-strapi) - A curated list of awesome things related to Strapi.

---

<sub>🤫 Psst! [Strapi is hiring](https://strapi.io/careers).</sub>
# 🚀 Getting started

## Prerequisites
- Docker or equivalent container runtime
- Docker Compose
- pnpm

## Getting started
1. Clone the repository
```bash
git clone https://github.com/xprtz/cms.git
````
2. Build the Docker images
```bash
docker compose build
```
3. Create the .env file from the sample file
```bash
cp .env.sample .env
```
4. Modify some values in the .env file
- `ADMINPASSWORD`: The password of the admin user, should not contain hashes. The default value in the sample contains a hash, so it will not work.
- `STRAPIPASSWORD`: The password of the strapi user, should not contain hashes.
- `AZURE_ENDPOINT`: The endpoint of the Azure Communication Services.
5. Start the containers
```bash
docker compose up
```
6. In another terminal, install dependencies and start the application
```bash
pnpm install
pnpm develop
```
7. Open the Strapi admin panel in your browser
```bash
http://localhost:1337/admin
```
86 changes: 44 additions & 42 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,42 +1,44 @@
{
"name": "cms",
"private": true,
"version": "0.1.0",
"description": "A Strapi application",
"scripts": {
"develop": "strapi develop",
"start": "strapi start",
"build": "strapi build",
"strapi": "strapi",
"format": "prettier . --write",
"postinstall": "yarn format"
},
"devDependencies": {
"prettier": "^3.3.3"
},
"dependencies": {
"@strapi/plugin-cloud": "5.12.6",
"@strapi/plugin-graphql": "^5.3.0",
"@strapi/plugin-users-permissions": "5.12.6",
"@strapi/strapi": "5.12.6",
"better-sqlite3": "11.3.0",
"pg": "^8.11.5",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^6.0.0",
"strapi-provider-email-azure": "^1.0.3",
"styled-components": "^6.0.0"
},
"author": {
"name": "A Strapi developer"
},
"strapi": {
"uuid": "260e7c98-fa4d-4377-a8b3-a4b5241d9e8b"
},
"engines": {
"node": ">=20.0.0 <=22.x.x",
"npm": ">=6.0.0"
},
"license": "MIT",
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
{
"name": "cms",
"private": true,
"version": "0.1.0",
"description": "A Strapi application",
"scripts": {
"develop": "strapi develop",
"start": "strapi start",
"build": "strapi build",
"strapi": "strapi",
"format": "prettier . --write"
},
"devDependencies": {
"prettier": "^3.3.3"
},
"dependencies": {
"@azure/identity": "^4.9.1",
"@strapi/plugin-cloud": "5.12.6",
"@strapi/plugin-graphql": "^5.3.0",
"@strapi/plugin-users-permissions": "5.12.6",
"@strapi/strapi": "5.12.6",
"better-sqlite3": "11.3.0",
"pg": "^8.11.5",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^6.0.0",
"strapi-provider-email-azure": "^1.0.3",
"styled-components": "^6.0.0"
},
"author": {
"name": "Maarten Louage"
},
"strapi": {
"uuid": "260e7c98-fa4d-4377-a8b3-a4b5241d9e8b"
},
"engines": {
"node": ">=20.0.0 <=22.x.x",
"npm": ">=6.0.0"
},
"license": "MIT",
"volta": {
"node": "22.15.0"
}
}
Loading