chore(#8): Initial migration into the new frontend UI #12

Merged
anthony merged 3 commits from new-ui into main 2024-12-25 13:20:12 +00:00
3 changed files with 23 additions and 3 deletions
Showing only changes of commit 000729a925 - Show all commits

View file

@ -4,11 +4,18 @@ Shortenit is a tool to shorten urls.
**NOTE**: This is a very early draft project. Contributions are welcome.
## Install
To install `shortenit` and all of its dependencies for development, run the following script.
``` shell
$ scripts/install.sh
```
## Running
To run `shortenit`, edit the configuration file found in [config/config.yaml](config/config.yaml) then run the following commands.
To run `shortenit` for development, edit the configuration file found in [config/config.yaml](config/config.yaml) then run the following script.
```text
$ pip install -e .
$ shortenit
$ scripts/run.sh
```

7
scripts/install.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/bash
cd frontend
npm install
cd ..
poetry install

6
scripts/run.sh Executable file
View file

@ -0,0 +1,6 @@
#!/bin/bash
cd frontend
npm run build
cd ..
poetry run shortenit