This looks straight forward. Would there be any hurdles ?
https://umami.is/docs/install
umami
anjanesh I just did a test install using the instructions at https://github.com/mikecao/umami (since they seem to be more-recently updated) and it mostly worked as advertised.
Here are the caveats:
- You must run the following before you begin the installation procedure so that it will use the environment that is installed with your Opalstack NodeJS app and have yarn available:
cd ~/apps/name_of_app export PATH=$PWD/nodebin:$PATH npm install -g yarn
- Before you run
yarn build
, create a file named.babelrc
in theumami
directory with the following contents (this is to work around an incompatible SWC binary dependency):
{ "presets": ["next/babel"] }
- When you start the app, include your Node app's port number in the command like so (using port 12345 as an example):
PORT=12345 yarn start
Good luck!