Compare commits
1 commit
a4bf134557
...
a305ea9388
Author | SHA1 | Date | |
---|---|---|---|
|
a305ea9388 |
2 changed files with 17 additions and 3 deletions
13
README.md
13
README.md
|
@ -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
7
scripts/install.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd frontend
|
||||
npm install
|
||||
|
||||
cd ..
|
||||
poetry install
|
Loading…
Add table
Reference in a new issue