- Docker
- NodeJS - This is only needed for the web layer, since it has to run independently outside of the docker container.
- Clone this repo and cd into the folder
- Run
git config core.hooksPath .githooks
to ensure our githooks will be picked up - Run
chmod -R +x .githooks
to ensure our githooks will execute - Install node dependencies for each of the layers:
npm install
./admin
./ifind-icons
./web
- To start the Strapi CMS, Database, and Icons builder (Admin layer), run
docker compose up
.- Intentionally leaving out detached argument (
-d
) in order to see the logs right away.
- Intentionally leaving out detached argument (
- To start the Web server (Web layer), which is optional based on the task at hand:
- Go to the
web
folder:cd web
- Run the server:
npm run dev
Note the Admin layer needs to be running whenever the Web layer is started.
- Go to the
- Admin
- Web
- IFIND Icons
- Fully integrate web into the docker container, with an optional start/stop control.
- Consider removing
ifind-utils
in favor ofifind-utilities
git submodule. - Consider moving
ifind-icons
intoifind-utilities
instead.