Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed schema.sql and better install instructions.

  • Loading branch information...
commit c7201377340672a3083e6e9cc43bfd9b9bf956a8 1 parent 4feb46a
Alex Ksikes authored

Showing 2 changed files with 11 additions and 9 deletions. Show diff stats Hide diff stats

  1. 18  INSTALL
  2. 2  schema.sql
18  INSTALL
@@ -4,7 +4,14 @@
4 4
 
5 5
 3) Download install webpy, follow instructions here: http://webpy.org/install.
6 6
 
7  
-4) Setup lighttpd, here is a part your config file:
  7
+4) Setup your database: mysql -p mlss < ./schema.sql. Note you first need to create a database called mlss.
  8
+If you want to try with sample data run: mysql -p mlss < ./data.sql
  9
+
  10
+5) Go over your site settings ./config_example.py and rename this file ./config.py
  11
+
  12
+6) Now you can test it: python ./application.py
  13
+
  14
+7) Setup lighttpd for production use. Here is a part your config file:
8 15
 
9 16
     ...
10 17
 
@@ -47,12 +54,7 @@
47 54
 
48 55
     ...
49 56
 
50  
-5) Setup your database: mysql -p mlss < ./schema.sql. Note you first need to create a database called mlss.
51  
-If you want to try with sample data run: mysql -p mlss < ./data.sql
52  
-
53  
-6) Make sure lighttpd has write access to the directory ./public/resumes/
  57
+8) Make sure lighttpd has write access to the directory ./public/resumes/
54 58
 You'd do something like this: sudo chgrp www-data ./public/resumes; chmod 775 ./public/resumes;
55 59
 
56  
-7) Go over your site settings ./config_example.py and rename this file ./config.py
57  
-
58  
-8) Restart lighttpd and you're done.
  60
+9) Restart lighttpd and you're done.
2  schema.sql
@@ -43,7 +43,7 @@ create table applicants (
43 43
     creation_ts             timestamp default current_timestamp, 
44 44
     update_ts               timestamp,
45 45
     index(secret_md5)
46  
-) engine=InnoDB charset ut8;
  46
+) engine=InnoDB charset utf8;
47 47
 
48 48
 create table users (
49 49
     id                      int(11) not null auto_increment primary key,

0 notes on commit c720137

Please sign in to comment.
Something went wrong with that request. Please try again.