Some minor configuration is necessary to start development on the project. First, make sure to install uix according to the official instructions. Afterwards, run the following to install the git hooks for commit message checking:
deno run -A npm:huskyThe rsvp-kalender subfolder is the folder from where you will run the dev server. This distinction was made to keep the code clean and leave room in the root folder for documentation, presentations, etc.
To run the dev server, run the following command from the rsvp-kalender folder:
uixIf you want to automatically reload the server when you change files (frontend or backend) and automatically reload your browser tabs, run:
uix -lIf you run into problems with eternal state (the stored data), you can try clearing all data by running:
uix --clearThis can be combined with the -l flag to clear the data and still watch for changes.
To debug problems while starting the dev server, you can run:
uix -vThis will give you verbose output, which can help you identify issues.
Setting a custom port can be done by running:
uix -p <port>As this only covers the most important options, refer to the UIX documentation for more information.
Currently some tests are implemented. Should you want to implement further tests, refer to the Unyt Test Library on GitHub for a guide. This is the official testing library and the recommended way.
Should you want to run the existing tests (which are written outside the Unyt Test Library), you can run the following command from the rsvp-kalender folder:
deno test --allow-all