A rudimentary task management software for small teams.
This is the software of https://smallteam.paroi.tech/
In a terminal:
(cd packages/smallteam && rushx serve)
In the vscode's terminal, run one of these commands:
# Work on Team
(cd subprojects/team-frontend && rushx watch)
# Work on Platform
(cd subprojects/platform-frontend && rushx watch)
# Work on Registration
(cd subprojects/registration-frontend && rushx watch)
After changing a package.json
or a git pull
:
rush update
rush rebuild
After running a npm
command by mistake, it is necessary to clean up all node_modules
directories the Rush way:
rush update --recheck
Run the linter everywhere:
rush lint
Stop dev watchers for backend and frontends, then, execute one of these commands:
# Bump version's patch number
rush new-release
# Bump version's minor number
rush new-release --minor
# Bump version's major number
rush new-release --major
Redirect smallteam.paroi.local
to localhost. Create domains for team1
and team2
.
$ sudo vi /etc/hosts
# Append:
127.0.0.1 smallteam.paroi.local
127.0.0.1 team1.smallteam.paroi.local
127.0.0.1 team2.smallteam.paroi.local
Then, some configuration:
mkdir data
cp smallteam/config.local.json smallteam/config.json
Install @microsoft/rush
and pnpm
globally:
sudo npm i pnpm @microsoft/rush -g
See also:
Now, make sure you never use npm directly on this monorepo. Use only rush.
Warning: On Ubuntu, the snap version of Node.js is buggy. Here is how to reinstall Node using nodesource:
sudo bash
snap remove node
curl -sL https://deb.nodesource.com/setup_12.x | bash -
apt install -y nodejs
Now, install and build all the subprojects:
rush install
rush build
Now, start the backend:
(cd packages/smallteam && rushx serve)
Then, load the platform frontend: http://smallteam.paroi.local:3921/
And create a new team1
or team2
. The confirmation e-mail will be in logs, level INFO.