2022-07-22 17:34:36 -04:00
|
|
|
# Post::Text
|
|
|
|
|
2022-07-22 17:22:23 -04:00
|
|
|
A textboard written in Perl
|
2022-07-22 17:34:36 -04:00
|
|
|
|
2022-07-26 23:15:18 -04:00
|
|
|
## Installing locally
|
|
|
|
|
|
|
|
Install dependencies
|
|
|
|
|
2022-08-22 17:33:15 -04:00
|
|
|
cpanm --installdeps .
|
2022-07-26 23:15:18 -04:00
|
|
|
|
2022-07-22 18:43:01 -04:00
|
|
|
## Running locally
|
|
|
|
|
|
|
|
Run it in development mode
|
|
|
|
|
2022-08-22 17:33:15 -04:00
|
|
|
morbo PostText.pl
|
2022-07-22 18:43:01 -04:00
|
|
|
|
|
|
|
Now try requesting http://localhost:3000
|
|
|
|
|
|
|
|
## Testing
|
|
|
|
|
2022-07-26 23:15:18 -04:00
|
|
|
Run the tests locally (against development environment)
|
2022-07-22 18:43:01 -04:00
|
|
|
|
2022-08-22 17:33:15 -04:00
|
|
|
prove -l
|
2022-07-22 18:43:01 -04:00
|
|
|
|
2022-07-22 17:34:36 -04:00
|
|
|
## TODOs
|
|
|
|
|
2022-08-22 17:33:15 -04:00
|
|
|
1. Form to create new remarks
|
|
|
|
1. I'm kinda hardcoding the single-thread view `link_to` in the
|
|
|
|
templates because I cannot for the life of me figure out how to use
|
|
|
|
`url_for` to populate the `thread_id` placeholder. Probably need to
|
|
|
|
clean-up the HTML too, just used `<span>` cuz I didn't know what
|
|
|
|
else to use
|
2022-08-22 23:09:48 -04:00
|
|
|
1. Just clean stuff up in general lol
|