Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/petdance/bobby-tables
bobby-tables.com, the site for preventing SQL injections
https://github.com/petdance/bobby-tables
bobby-tables hacktoberfest sql sql-injection
Last synced: 3 days ago
JSON representation
bobby-tables.com, the site for preventing SQL injections
- Host: GitHub
- URL: https://github.com/petdance/bobby-tables
- Owner: petdance
- Created: 2009-09-17T02:07:19.000Z (over 15 years ago)
- Default Branch: dev
- Last Pushed: 2023-08-23T02:04:46.000Z (over 1 year ago)
- Last Synced: 2024-12-15T18:09:18.688Z (10 days ago)
- Topics: bobby-tables, hacktoberfest, sql, sql-injection
- Language: Perl
- Homepage: http://bobby-tables.com/
- Size: 507 KB
- Stars: 251
- Watchers: 18
- Forks: 85
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This project is the source code for , plus the
Perl code that converts it from Markdown format into HTML and uploads
it to the server.Repository layout
-----------------* s/
* page bodies in Markdown format
* tt/
* templates in Template::Toolkit format
* static/
* images and styles
* t/
* tests
* build/ (Not stored)
* outputRequirements
------------GNU bash, make, gettext-runtime, gettext-tools.
Perl and additional CPAN modules.
For building:
* File::Slurper
* Markdent
* TemplateFor testing:
* Test::HTML::Tidy5
Alternatively a Dockerfile is provided which can run the necessary make tasks
in a container.docker build -t bobby-tables . # Builds the container
docker run --rm -v $PWD:/app bobby-tables # Builds the site to the build/ directory
docker run --rm -v $PWD:/app bobby-tables make test # Runs the testsContributing page content
-------------------------1. Modify templates or page bodies. New pages have to be registered in the file `crank`.
2. Run `make` to build the site and inspect the result in the `build` directory.
3. Run `make test` to check for HTML errors.
4. Commit/publish changes, see `s/index.md`.