0.1.10 • Published 8 months ago

strapi-template v0.1.10

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

🚀 Getting started with Strapi

Strapi Template Docker README

install and execute

Install the latest version of the strapi-template package locally.

npx create-strapi-app@latest strapi-template --template strapi-template --no-run

When prompted to Choose your installation type, select Quickstart (recommended).

run docker containers

Run the strapi app and associated MySQL database via Docker. The database will automatically connect to (or create) the persistent Docker volume named 'strapi-data'.

Navigate to the root directory and run:

npm run unpack-compose

This will unpack the needed files for docker-compose, build the Docker images, and run the Strapi and MySQL containers via your local Docker.

prepare for npm publish

A specific file structure is needed to push changes to the public npm package strapi-template (see https://docs.strapi.io/dev-docs/templates). To autonomously restructure the repo and acheive the needed file structure, run the following:

npm run gen-template

publish to npm registry

If changes were made to the package and a new package is needed to be published then a new (unique) version will be required in the NPM registry.

  1. navigate to package.json
  2. delete the field "private: true"
  3. modify the version field according to the changes (major, minor, patch)
  4. save the file
  5. publish to npm registry using npm publish

Note: You may be required to login via npm adduser in order to publish to the registry.

Strapi Standard README

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.

0.1.10

8 months ago

0.1.9

8 months ago

0.1.8

8 months ago

0.1.7

8 months ago

0.1.6

8 months ago

0.1.5

8 months ago

0.1.4

8 months ago

0.1.3

8 months ago

0.1.2

8 months ago

0.1.1

8 months ago

0.1.0

8 months ago