Skip to content

Install Guide

freefcw edited this page Jan 15, 2015 · 1 revision

First of all, this version hustoj is a skin and improved for https://code.google.com/p/hustoj/. So the you can migrate the old version web to this version without any big chance.

This guide is not a deep tutorial for beginner, the base step for os and backend you should reference the old version of hustoj.

MySQL

  1. run the origin hustoj db script Origin Database of Hustoj
  2. run the db alter script database changed

Web

  1. git clone https://github.com/freefcw/hustoj.git into the code to your webdocs
  2. follow the configure guide. notice, the old extension of mysql for php is deprecated, so you need use MySQLi, or PDO

Admin

  1. open the site and register a user as the master admin.
  2. run the sql script insert into privilege(user_id,rightstr) values('admin','administrator'); admin is the username of your registered
Clone this wiki locally