flight offsetter website
The website can be accessed under https://flight.discarbon.earth/
. This directly reflects the main branch.
npm i
to install all components
Should install tailwind CSS and Daisy UI for the UI components.
Open a console and start the tailwind css watcher which compiles the css automatically depending on the used components:
npx tailwindcss -i ./css/input.css -o ./css/output.css --watch
Run site for local development with HTTPS via https-localhost:
npm i -g --only=prod https-localhost
sudo serve .
See [web3modal-vanilla-js-example][https://github.com/Web3Modal/web3modal-vanilla-js-example] for more info.
The website in the dev branch can be accessed under https://flight-dev.discarbon.earth/
.
The list of airports is created by the python script create_airport_list.py
in the resources folder. If you want to change anything there, edit the script and run it via:
python3 ./resources/create_airport_list.py
Start hacking.