chrnorm / strapi-heroku-starter

Easily develop APIs locally with Strapi, and then deploy to Heroku πŸ™Œ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Strapi Heroku starter

Based on the official Strapi docker repository.

Getting started

Install the required packages:

Running on your local development environment:

  • Open a terminal in the project folder
  • Run the command docker-compose up
  • docker-compose automatically creates a database and installs Strapi
  • Open localhost:1337 in your browser
  • When you are finished developing, stop the local server with docker-compose down.

Deploying to Heroku

Make sure that you've set up the local dev environment by following the instructions above and you've configured the content types in Strapi before deploying.

  • Open a terminal in the project folder
  • Run the command node setup-heroku.js
  • Follow the prompts and wait for the script to finish
  • Commit any changes you've made to git
  • Run the command git push heroku
  • Open the Heroku console and view your app!

About

Easily develop APIs locally with Strapi, and then deploy to Heroku πŸ™Œ

License:MIT License


Languages

Language:JavaScript 56.6%Language:Shell 22.3%Language:Dockerfile 21.1%