Showing 4 changed files with 5 additions and 12 deletions
+3 -10
.gitignore
... ...
@@ -18,18 +18,11 @@ log/*
18 18
 script/hypnotoad.pid
19 19
 !public/.gitignore
20 20
 script/hypnotoad.pid
21
-winstart.pid
22
-user/public/*
23
-!user/public/.gitignore
24
-user/templates/*
25
-!user/templates/.gitignore
26
-db/*
27
-!db/.gitignore
28 21
 extlib/*
29
-rep/*
30 22
 gitprep.my.conf
31
-rep/*
32
-!rep/.gitignore
23
+data/rep/*
24
+data/gitprep.db
25
+!data/rep/.gitignore
33 26
 setup/log/*
34 27
 !setup/log/.gitignore
35 28
 setup/latest-build
db/.gitignore → data/.gitignore
File renamed without changes.
rep/.gitignore → data/rep/.gitignore
File renamed without changes.
+2 -2
lib/Gitprep.pm
... ...
@@ -56,7 +56,7 @@ sub startup {
56 56
   $self->manager($manager);
57 57
   
58 58
   # Repository home
59
-  my $rep_home = $self->home->rel_file('rep');
59
+  my $rep_home = $self->home->rel_file('data/rep');
60 60
   $git->rep_home($rep_home);
61 61
   unless (-d $rep_home) {
62 62
     mkdir $rep_home
... ...
@@ -65,7 +65,7 @@ sub startup {
65 65
   $self->git($git);
66 66
 
67 67
   # DBI
68
-  my $db_file = $self->home->rel_file('db/gitprep.db');
68
+  my $db_file = $self->home->rel_file('data/gitprep.db');
69 69
   my $dbi = DBIx::Custom->connect(
70 70
     dsn => "dbi:SQLite:database=$db_file",
71 71
     connector => 1,