mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-10 12:18:30 +03:00
939 B
939 B
Settings Page
The settings page (viewable here TODO: add link), is an easy-to-use UI for users to edit their auto-archiver settings.
The single-file app is built using React and vite. To get started developing the package, follow these steps:
- Make sure you have Node v22 installed.
Use `nvm` to manage your node installations. Use:
`curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash` to install `nvm` and then `nvm i 22` to install Node v22
- Generate the
schema.jsonfile for the currently installed modules usingpython scripts/generate_settings_schema.py - Go to the settings folder
cd scripts/settings/and build your environment withnpm i - Run a development version of the page with
npm run dev - Build a release version of the page with
npm run build
A release version creates a single-file app called dist/index.html