Giter VIP home page Giter VIP logo

strapi-church's Introduction

Strapi CI/CD pipeline

Deploy on Elest.io

Deploy Strapi with CI/CD on Elestio



Once deployed ...

You can open Strapi UI here:

URL: https://[CI_CD_DOMAIN]/admin
email: [ADMIN_EMAIL]
password: [ADMIN_PASSWORD]

You can open the pgAdmin web UI here:

URL: https://[CI_CD_DOMAIN]:8443
email: [ADMIN_EMAIL]
password: [ADMIN_PASSWORD]

Plugins

You can install your plugins by adding the yarn command in the entrypoint.sh file.

for example:

step1: Go to the Tools tab, click on the VS Code button, copy the password, click on the Access link, then paste the password

step2: Go to the entrypoint.sh, and paste your yarn command ⚠️One command per line⚠️ and at the end of the file add yarn build

step3: Check to see if the file webpack.config.example.js is in the ./src/admin folder. If it isn't there, create the file webpack.config.example.js inside the /src/admin folder and add the code below.

'use strict';

/* eslint-disable no-unused-vars */
module.exports = (config, webpack) => {
  // Note: we provide webpack above so you should not `require` it
  // Perform customizations to webpack config
  // Important: return the modified config
  return config;
};

step4: Go back to Elestio Dashboard, Details tab, and click to Restart Stack

Production

By default, you deploy a development version. You can easily switch between a production version or a development version like this:

step1: Update the env var to indicate which version you want. Open Elestio dashboard > Service overview > click on UPDATE CONFIG button > ENV tab update the variable NODE_ENV from development to production or revert

step2: click on Update & Restart button.

strapi-church's People

Contributors

soychrisdev avatar

Watchers

 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.