- bookmarks_database
- bookmarks_frontend
- bookmarks_server
Checkout modules
git submodule add [email protected]:wtain/bookmarks_server.git
git submodule add [email protected]:wtain/bookmarks_database.git
git submodule add [email protected]:wtain/bookmarks_frontend.git
Modules bookmarks_server
and bookmarks_frontend
require Typescript.
Run following commands in those modules' directories.
cd bookmarks_frontend
npm install typescript --save-dev
Add following to /etc/hosts
:
host.docker.internal 127.0.0.1
For server it is also necessary to install Nodemon:
cd bookmarks_server
npm install nodemon --save
npm install -g ts-node@latest
That helped last time:
npm install ts-node-dev@latest ts-node@latest
make start
NOTE: On Windows it requires administrative access
Sometimes Docker under Windows can complain about busy port. In order to resolve that issue, do the following (in administrative console):
net stop winnat
net start winnat