In order to get the project running:
- git clone it
- Install MySQL (or a preferred database)
- Install Maven
- Put a copy of config/scipub.properties into /config (or c:\config)
- Create an empty database with your desired name (scipub by default) and with UTF-8 as character set
- Configure your database credentials in the newly created scipub.properties
- Go to the project directory
- Download and add to the lib folder the 3rd party jar files listed vuze-jar.txt
- Optionally, install pandoc (http://pandoc.org/) - needed to handle uploaded files conversion
- mvn tomcat7:run
- Stop the service (CTRL+C) - the database tables are now automatically created
- Import the science_branches.sql into the database
- mvn tomcat7:run
- Navigate your browser to http://localhost:8080/scipub
(alternative to /config, you can specify MAVEN_OPTS environment variable to contain -Dscipub.config.location=/path/to/config)
(The Vuze jar is too big and for the time being is kept outside the repo. It can be downloaded from here http://cf1.vuze.com/site/dev/files/Vuze_5501-31.jar)