2022-07-22 21:34:36 +00:00
|
|
|
# Post::Text
|
|
|
|
|
2022-07-22 21:22:23 +00:00
|
|
|
A textboard written in Perl
|
2022-07-22 21:34:36 +00:00
|
|
|
|
2022-07-27 03:15:18 +00:00
|
|
|
## Installing locally
|
|
|
|
|
|
|
|
Install dependencies
|
|
|
|
|
2022-08-22 21:33:15 +00:00
|
|
|
cpanm --installdeps .
|
2022-07-27 03:15:18 +00:00
|
|
|
|
2022-07-22 22:43:01 +00:00
|
|
|
## Running locally
|
|
|
|
|
|
|
|
Run it in development mode
|
|
|
|
|
2022-08-23 23:06:33 +00:00
|
|
|
morbo -w assets/css/ -w lib/ -w migrations/ -w t/ -w templates/ PostText.pl
|
2022-07-22 22:43:01 +00:00
|
|
|
|
|
|
|
Now try requesting http://localhost:3000
|
|
|
|
|
|
|
|
## Testing
|
|
|
|
|
2022-07-27 03:15:18 +00:00
|
|
|
Run the tests locally (against development environment)
|
2022-07-22 22:43:01 +00:00
|
|
|
|
2022-08-22 21:33:15 +00:00
|
|
|
prove -l
|
2022-07-22 22:43:01 +00:00
|
|
|
|
2022-07-22 21:34:36 +00:00
|
|
|
## TODOs
|
|
|
|
|
2022-08-24 01:48:30 +00:00
|
|
|
1. Return the last remark with remark form
|
2022-08-29 15:12:46 +00:00
|
|
|
1. Method names may need to be shortened, should use POD instead to
|
|
|
|
describe their function
|
2022-09-01 20:00:54 +00:00
|
|
|
|
|
|
|
## Crazy future ideas
|
|
|
|
|
|
|
|
### (Lord knows there's TODOs I could be working on...)
|
|
|
|
|
|
|
|
1. Return a text response instead of HTML if a `.txt` extension is requested
|
|
|
|
1. Post thread via SMS (twil.io??)
|