Skip to content

Latest commit

 

History

History
67 lines (47 loc) · 1.47 KB

README.md

File metadata and controls

67 lines (47 loc) · 1.47 KB

sensor.community website

✨ new shiny website for dust and noise measuring project 👉 sensor.community

How to install

Prerequisites

Get started

inside the folder install the dependencies...

npm install

or with yarn

yarn install

...then start Rollup:

npm run dev or sapper dev

alternative use yarn

yarn install
yarn run dev or sapper dev

Navigate to localhost:3000. You should see your app running. Edit a component file in src, save it, and reload the page to see your changes.

By default, the server will only respond to requests from localhost. To allow connections from other computers, edit the sirv commands in package.json to include the option --host 0.0.0.0.

Getting started with Svelte & Sapper

Website is based on Svelte 3 and Sapper. Please consider reading the documentation.

Translation

  1. Create locale file
npx i18next-svelte-scanner -s src -o ./locales/<language>.json
npx i18next-svelte-scanner -s src -o ./locales/fr.json
  1. Add it to the i18n.js
register('fr', () => import('../locales/fr.json'));

Bugs and feedback

The website is in early development, and may have the odd rough edge here and there.

Deployment

TODO

Happy coding :tadaraised_hands: