docs: get rid of Makefile.PL
This commit is contained in:
14
README.md
14
README.md
@@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
- Perl 5.42.0
|
- Perl 5.42.0
|
||||||
- Mojolicious 9.42
|
- Mojolicious 9.42
|
||||||
|
- Carton
|
||||||
|
|
||||||
## Roadmap
|
## Roadmap
|
||||||
|
|
||||||
@@ -17,7 +18,7 @@
|
|||||||
- [ ] validate URLs and handle errors
|
- [ ] validate URLs and handle errors
|
||||||
- [ ] create a simple and clean UI
|
- [ ] create a simple and clean UI
|
||||||
- [ ] manage/delete short urls
|
- [ ] manage/delete short urls
|
||||||
- [ ] create `Makefile.PL`
|
- [ ] create installation script
|
||||||
- [ ] create systemd service
|
- [ ] create systemd service
|
||||||
- [ ] create `Dockerfile`
|
- [ ] create `Dockerfile`
|
||||||
- [ ] create `docker-compose.yml`
|
- [ ] create `docker-compose.yml`
|
||||||
@@ -25,8 +26,6 @@
|
|||||||
|
|
||||||
## How to run
|
## How to run
|
||||||
|
|
||||||
### Dev
|
|
||||||
|
|
||||||
To run the application in development, you'll first need a Redis server. The easiest way is to start a local Redis instance using Docker:
|
To run the application in development, you'll first need a Redis server. The easiest way is to start a local Redis instance using Docker:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -47,15 +46,12 @@ carton exec morbo bin/urupam
|
|||||||
|
|
||||||
Open [http://127.0.0.1:3000](http://127.0.0.1:3000) in your browser.
|
Open [http://127.0.0.1:3000](http://127.0.0.1:3000) in your browser.
|
||||||
|
|
||||||
### Install
|
## Installation
|
||||||
|
|
||||||
Use the provided `Makefile.pl`:
|
Run the installation script:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
perl Makefile.PL
|
scripts/install.sh
|
||||||
make
|
|
||||||
make test
|
|
||||||
sudo make install
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Activate/enable the systemd service:
|
Activate/enable the systemd service:
|
||||||
|
|||||||
Reference in New Issue
Block a user