diff --git a/README.md b/README.md index 8a2f9af..49875bf 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ The website is based on ## Installation -You need [docker and docker-compose](https://www.docker.com/) in order to run this stack, and that's it. +You need [docker and docker-compose](https://www.docker.com/) in order to run this stack. ## Deploy @@ -38,5 +38,10 @@ and insert: ## Develop +You need [Node.js](https://nodejs.org/en/) and [yarn](https://yarnpkg.com/) in order to run this stack. + - clone this repo -- `./develop.sh` +- `./develop.sh` will launch the Strapi CMS and Postgres +- in another terminal, `cd frontend` +- `yarn serve` will launch the frontend +- You will need to `yarn install` at first launch. diff --git a/docker-compose-dev.yml b/docker-compose-dev.yml index 6709ba9..d65f6f8 100644 --- a/docker-compose-dev.yml +++ b/docker-compose-dev.yml @@ -1,14 +1,14 @@ version: "3" services: - devfrontend: - image: node - ports: - - 8080:8080 - volumes: - - ./frontend:/usr/src/app - working_dir: /usr/src/app - command: bash -c "yarn install && yarn serve" + # devfrontend: + # image: node + # ports: + # - 8080:8080 + # volumes: + # - ./frontend:/usr/src/app + # working_dir: /usr/src/app + # command: bash -c "yarn install && yarn serve" devbackend: image: strapi/strapi