✨ new shiny website for dust and noise measuring project 👉 sensor.community
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
.
Website is based on Svelte 3 and Sapper. Please consider reading the documentation.
- Create locale file
npx i18next-svelte-scanner -s src -o ./locales/<language>.json
npx i18next-svelte-scanner -s src -o ./locales/fr.json
- Add it to the i18n.js
register('fr', () => import('../locales/fr.json'));
The website is in early development, and may have the odd rough edge here and there.
Happy coding :tadaraised_hands: