Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed schema.sql and better install instructions.

  • Loading branch information...
commit c7201377340672a3083e6e9cc43bfd9b9bf956a8 1 parent 4feb46a
@alexksikes authored
Showing with 11 additions and 9 deletions.
  1. +10 −8 INSTALL
  2. +1 −1  schema.sql
View
18 INSTALL
@@ -4,7 +4,14 @@
3) Download install webpy, follow instructions here: http://webpy.org/install.
-4) Setup lighttpd, here is a part your config file:
+4) Setup your database: mysql -p mlss < ./schema.sql. Note you first need to create a database called mlss.
+If you want to try with sample data run: mysql -p mlss < ./data.sql
+
+5) Go over your site settings ./config_example.py and rename this file ./config.py
+
+6) Now you can test it: python ./application.py
+
+7) Setup lighttpd for production use. Here is a part your config file:
...
@@ -47,12 +54,7 @@
...
-5) Setup your database: mysql -p mlss < ./schema.sql. Note you first need to create a database called mlss.
-If you want to try with sample data run: mysql -p mlss < ./data.sql
-
-6) Make sure lighttpd has write access to the directory ./public/resumes/
+8) Make sure lighttpd has write access to the directory ./public/resumes/
You'd do something like this: sudo chgrp www-data ./public/resumes; chmod 775 ./public/resumes;
-7) Go over your site settings ./config_example.py and rename this file ./config.py
-
-8) Restart lighttpd and you're done.
+9) Restart lighttpd and you're done.
View
2  schema.sql
@@ -43,7 +43,7 @@ create table applicants (
creation_ts timestamp default current_timestamp,
update_ts timestamp,
index(secret_md5)
-) engine=InnoDB charset ut8;
+) engine=InnoDB charset utf8;
create table users (
id int(11) not null auto_increment primary key,
Please sign in to comment.
Something went wrong with that request. Please try again.