CYBER
Go to file
Al Beano 5e4ba72357 Config file bugfixes
* YAML::Tiny does not support boolean values so we use integer 0 or 1
 * We need to append a . to the SOA master otherwise we end up with "opennic.glue.cyb"
2017-08-19 14:18:21 +01:00
bin Basic zone writing script 2017-08-12 11:26:06 +01:00
dbupdate Send confirmation emails for account updates 2017-08-13 19:58:22 +01:00
environments initial commit 2017-07-14 18:29:52 +01:00
lib Oops! Slightly bad regex causes valid domains to be rejected 2017-08-13 21:54:55 +01:00
public Remove image for now.. 2017-08-12 14:15:15 +01:00
t initial commit 2017-07-14 18:29:52 +01:00
views Add charter page 2017-08-13 20:22:27 +01:00
.dancer initial commit 2017-07-14 18:29:52 +01:00
.gitignore misc improvements, basic authentication system (no session support yet) 2017-07-15 19:24:05 +01:00
Makefile.PL initial commit 2017-07-14 18:29:52 +01:00
README.md Handy links 2017-08-13 21:21:46 +01:00
app.psgi Block CSRF attempts 2017-07-16 20:09:42 +01:00
config.yml Config file bugfixes 2017-08-19 14:18:21 +01:00
cpanfile Send confirmation emails upon registration 2017-08-13 18:36:59 +01:00
schema.sql Send confirmation emails for account updates 2017-08-13 19:58:22 +01:00

README.md

cyberman

A web-ui for registering domains, written in modern Perl 5 with Dancer.

issue tracker | detailed documentation

Current state

Cyberman was designed to serve .cyb, and the codebase reflects this. Although it is capable of serving any domain, the default config is for .cyb, and the templates/stylesheet are oriented towards cybNIC. We're interested in producing a 'generic' style; if you'd like to contribute to this, do get in touch.

Features

  • Registering domains
  • Unregistering domains

Prerequisites

You need a recent Perl 5 version (5.14 or later should do) and some Perl modules. The best way to get these is to install cpanminus (cpan App::cpanminus, curl https://cpanmin.us | perl - app::cpanminus, or better still, use your package manager) and then run cpanm --installdeps . in the repo directory.

You also need SQLite3. To set up the database:

cd /path/to/cyberman
sqlite3 db.sqlite
(sqlite prompt) .read schema.sql
(sqlite prompt) .q

Getting started

Once you've got all that, just run plackup to start a development server. You should probably inspect and alter config.yml first.

Production!

You can deploy cyberman however you want, using Plack. Just make sure you pass -E production - this disables detailed error pages which could be a security risk, and tones down the logging.

Questions, fan mail, etc

Feel free to join #cyb on irc.cyberia.is!