-
Notifications
You must be signed in to change notification settings - Fork 12
Deployment Documentation
BlackCat edited this page Feb 27, 2015
·
8 revisions
Custom Wars Tactics can run on any system that supports Eclipse, Git and Maven.
This section decribes how you can build the game engine from source.
- Eclipse 4.4.1
- Git
- Maven (Should be included in Eclipse)
- Download and install Eclipse 4.4.1
- Make sure that Maven Integration for Eclipse is installed from the Eclipse Marketplace
- Checkout the web page source from our github repository and select the master branch
- Import the folder as java project
- Convert the project to a maven project by selecting the following in the context menu Configure => Convert to maven project
- Create a new Maven build starter in the Run => Run Configurations.. dialog with the name BUILD GAME ENGINE JS
- Set the working directory to the folder of the web page project
- Add
compile org.st-js:maven-plugin:generateas maven goal - EMBEDDED 3.x.y.z should be selected as maven runtime
..Under construction..
..Under construction..
This section describes how you can build the web page from source.
- Eclipse 4.4.1
- Git
- Maven (Should be included in Eclipse)
- Download and install Eclipse 4.4.1
- Make sure that Maven Integration for Eclipse is installed from the Eclipse Marketplace
- Checkout the web page source from our github repository and select the
gh-pagesbranch - Import the folder as java project
- Convert the project to a maven project by selecting the following in the context menu: Configure => Convert to maven project
- Create a new Maven build starter in the Run => Run Configurations.. dialog with the name
BUILD WEBPAGE JS
- Set the working directory to the folder of the web page project
- Add
compile org.st-js:maven-plugin:generate org.apache.maven.plugins:maven-antrun-plugin:runas maven goal -
EMBEDDED 3.x.y.zshould be selected as maven runtime
- Run the
BUILD WEBPAGE JSstarter to generate the javascript file (There should be aBUILD SUCCESSin your console when the build was successful) - Start a http server which uses your project folder as document root
- Open
localhost/index.htmlin your web browser
- Check the web page by doing everything in Build the web page
- Commit your changes
- Publish your committed stuff to the repository
The changes should be visible on ctomni231.github.io/cwtactics in some minutes.
- Resources
- Tools
- Development
- Design Documents
- Archive