To run the app on your local machine,
Pre-requisites:
Steps:
cd biologging-sensor-client
npm install
if you are running the app for the first time or if you are aware new libraries have been added to the application code since the last time you ran this command.npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result. If the port 3000
has been used by another application, check the command line window messages for the port that is used.
you can ssh with your account blggext several commands are available :
git pull
npm install
npm run dev
assure that .env.local file is present
for security reasons, several commands are disabled (cd for instance)
if you want to see the logs in the terminal, you can run the app by using
npm run dev
if you want to make it run permanently (background), please run :
pm2 --name biologging-client start npm -- run dev
you can see the process running here :
pm2 ps
to delete the process, please use
pm2 delete ID
ID being the id of the app launched (most of the time : 0 )
@fortawesome/fontawesome-svg-core: ^6.5.1
@fortawesome/free-brands-svg-icons: ^6.5.1
@fortawesome/free-regular-svg-icons: ^6.5.1
@fortawesome/free-solid-svg-icons: ^6.5.1
@fortawesome/react-fontawesome: ^0.2.0
@types/react-leaflet: ^3.0.0
ag-grid-react: ^31.2.0
axios: ^1.6.2
bootstrap: ^3.4.1
chart.js: ^4.4.1
chartjs-adapter-date-fns: ^3.0.0
copy-to-clipboard: ^3.3.3
date-fns: ^3.6.0
leaflet: ^1.9.4
next: 14.0.3
react: ^18.2.0
react-chartjs-2: ^5.2.0
react-dom: ^18.2.0
react-leaflet: ^4.2.1
react-spinners: ^0.13.8
@fortawesome/fontawesome-svg-core: 6.5.1
@fortawesome/free-brands-svg-icons: 6.5.1
@fortawesome/free-regular-svg-icons: 6.5.1
@fortawesome/free-solid-svg-icons: 6.5.1
@fortawesome/react-fontawesome: 0.2.0
@types/leaflet: 1.9.8
@types/node: 20.11.8
@types/react-dom: 18.2.18
@types/react-leaflet: 3.0.0
@types/react: 18.2.48
ag-grid-react: 31.2.0
autoprefixer: 10.4.17
axios: 1.6.7
bootstrap: 3.4.1
chart.js: 4.4.1
chartjs-adapter-date-fns: 3.0.0
copy-to-clipboard: 3.3.3
date-fns: 3.6.0
eslint-config-next: 14.0.3
eslint: 8.56.0
leaflet: 1.9.4
next: 14.0.3
postcss: 8.4.33
react-chartjs-2: 5.2.0
react-dom: 18.2.0
react-leaflet: 4.2.1
react: 18.2.0
typescript: 5.3.3