PostText/README.md

38 lines
915 B
Markdown
Raw Normal View History

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
## Installing locally
Install dependencies
cpanm --installdeps .
2022-07-22 22:43:01 +00:00
## Running locally
Run it in development mode
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
Run the tests locally (against development environment)
2022-07-22 22:43:01 +00:00
prove -l
2022-07-22 22:43:01 +00:00
2022-07-22 21:34:36 +00:00
## TODOs
1. Hyperlink to remarks form
1. Is there something I can do about route names?
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
1. Tests for remark form
2022-08-23 23:09:08 +00:00
1. Marked some items for clean up with comments
1. Method names may need to be shortened
2022-08-24 00:38:56 +00:00
1. Change 'view' to something like 'list' or 'browse'