Project Tutorial - bounswe/bounswe2016group12 GitHub Wiki
Project Installation Tutorial
I used intellij as my Ide so I'll explain it for intellij.
-
Get a Education account from jetbrains and install intellij (with boun.edu.tr mail address).
-
Clone source code and install project to your computer.
-
Install Tomcat and put it in somewhere in your computer to use it for local debugging and testing.
-
In intellij, click on run, open edit configurations, from top left click green + symbol.
-
Select tomcat server, In application server field select configure and choose your local tomcat servers address.
-
Go to deployment tab. There should a warning in bottom select fix there.
-
if it didn't automatically create war exploded file and give unnamed file, module may contains error.
-
From Project window, right click project and click open module settings.
-
From there first delete current module. Then click + and create new module, select web application as framework.Choose tomcat server as application server and select java EE7 version. Deselect create web.xml (because we want to use our own)
-
Select WEB_APP file as content root and click next. choose overwrite .iml file when it prompts.
-
Select Paths in module tab. Select Use module compile output path. Select Apply.
-
Go to Artifacts Window, click + button and select create it from module.
-
From tomcat deployment tab(from edit configuration in run) select your artifact.
-
Now When you run tomcat server it should give you our sites page.
Maven
Maven is available in our project, you can add maven integration by selecting maven project from right tool bar. By clicking + and selecting pom.xml, your maven is ready.
Database
You can also acces to our database from Database from right toolbar by making its setting(its pretty easy just give information it asks ). You can create tables there.
Github
You should create your own branch to code and then merge commit it to master. Previous Settings may broke intellijs link to github. You can reconnect to github by adding bounswe12 folder as module to your project.
Doxygen
I couldn't find a doxygen plugin for intellij, but you can manually use doxygen by installing its application and selecting directories for now.