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
|
|
|
|
|
|
|
|
$ cpanm --installdeps .
|
|
|
|
|
2022-07-22 18:43:01 -04:00
|
|
|
## Running locally
|
|
|
|
|
|
|
|
Run it in development mode
|
|
|
|
|
|
|
|
$ morbo PostText.pl
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
$ prove -l
|
|
|
|
|
2022-07-22 17:34:36 -04:00
|
|
|
## TODOs
|
|
|
|
|
2022-08-15 17:11:14 -04:00
|
|
|
1. Display error for invalid input (call `flash()` in template)
|
2022-08-04 22:46:35 -04:00
|
|
|
1. Pick a date format
|
2022-08-15 17:11:14 -04:00
|
|
|
1. Reply model
|