damil / app-autocrud Goto Github PK
View Code? Open in Web Editor NEWA Plack application for browsing and editing databases
License: Artistic License 2.0
A Plack application for browsing and editing databases
License: Artistic License 2.0
if a primary key contains a space at the end, this space is automatically removed in the update or delete forms ... and therefore it becomes impossible to act on this record
(was already declared under https://rt.cpan.org/Ticket/Display.html?id=128160)
I am trying to run App::AutoCRUD as FastCGI with the following invocation:-
plackup -s FCGI --listen /tmp/app.sock crud.psgi
Contents of crud.psgi:-
#!/usr/bin/env perl
use App::AutoCRUD;
use YAML qw/LoadFile/;
my $config = LoadFile "/var/www/vhosts/example.com/config.yaml";
my $crud = App::AutoCRUD->new(config => $config);
my $app = $crud->to_app;
Contents of config.yaml:-
app:
name: Test AutoCRUD
datasources :
Source1 :
dbh:
connect:
# arguments that will be passed to DBI->connect(...)
# for example :
- dbi:SQLite:dbname=/var/www/vhosts/example.com/example.com.db
- "" # user
- "" # password
- RaiseError : 1
sqlite_unicode: 1
When accessing the page from a browser, it outputs the following:-
500 Server Error
no such controller : Plack at /home/chaz/perl5/lib/perl5/App/AutoCRUD.pm line 173.
500 Server Error
no Plain view at /u01/ops/perl-5.36.0/lib/site_perl/5.36.0/App/AutoCRUD/Controller/Schema.pm line 47.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.