Skip to content

zhouy/document-versioning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using memory as database:

  • Uncomment the following line in app/conf/application.conf:

      db=mem
    

Using MySQL 5:

  • Create a database document_versioning using the following command:

      mysql> create database document_versioning;
    
  • Uncomment the following line in app/conf/application.conf of:

      db=mysql:root@document_versioning
    
  • It is possible that you encounter a problem of dependency (MySQL 5.5), please try execute following command:

      $ mysql -u root
      mysql> use document_versioning
      mysql> alter table Document add constraint fk_document_user foreign key (author_id) references user(id);
      mysql> alter table Version add constraint fk_version_document foreign key (document_id) references document(id);
      mysql> alter table Comment add constraint fk_comment_version foreign key (version_id) references version(id);
    

Google App Engine support:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published