- Get perlbrew and build and install a perl.
- Pull down the git repo
cpanm --installdeps .
perl bin/database.pl --cmd install
- this will set up a schema for your dev databaseperl bin/app.pl
- this will start the app up on port 3000
- develop on the main repo
I'll merge it into master when I'm ready to make a release
No, but it makes everything faster! pval will use memcached if it's available, but it's not a requirement. memcached needs to be started before pval is.
Use config.yml
, environments/development.yml
and
environments/production.yml
. The last two are environment specific, so make
changes in the appropriate file. config.yml
is global, and the
environment-specific ones override it.
Most things, as long as they're written securely and with performance in mind. Be careful about changing the database schema. I'll be more hesitant to merge in features requiring schema changes.
I don't care. I deploy with perlbrew so I frankly don't give a fuck about how many deps this has. You do you.
- You need to make a migration. First, make your schema changes in
Pval/Schema/*
- Bump the version number in
Pval/Schema.pm
- Prepare the transaction
bin/database.pl --cmd prepare --version x
- Prepare the upgrade
bin/database.pl --cmd prepare --from-version y --to-version x
- Execute the upgrade
bin/database.pl --cmd upgrade