GithubHelp home page GithubHelp logo

dev-for-apps's Introduction

Strapi application for Dev Apps

How to development

with Docker Compose

  1. run strapi and postgresql with Docker Compose
docker compose -f docker-compose.local.yml up -d

run strapi standalone

  1. Copy .env.example and rename it to .env.
cp .env.example .env
  1. Write environment variables to .env. If you want to use the existing DB, please contact the administrators.

example for local env:

# .env
NODE_ENV=development
DATABASE_HOST='localhost'
DATABASE_PORT=5432
DATABASE_NAME='strapi'
DATABASE_USERNAME='strapi'
DATABASE_PASSWORD='strapi'
  1. Install dependencies.
yarn
  1. Start Strapi on your local server.
yarn develop

change schema and more change settings

  1. Open the local Strapi on your browser and edit the content types etc. The edited result is output to JSON files managed by git.

  2. Apply the formatter and commit.

yarn lint
git add .
git commit -am 'Your awesome changes'
  1. All you have to do is PR!

dev-for-apps's People

Contributors

renovate-bot avatar hhatto avatar aggre avatar renovate[bot] avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.