-
Notifications
You must be signed in to change notification settings - Fork 31
Setup your development environment with IntelliJ IDEA
-
Install JAVA SDK 7 and 8 and ant
-
Install google web toolkit SDK version 2.5.1 http://www.gwtproject.org/versions.html link may be broken, here it is: https://storage.googleapis.com/gwt-releases/gwt-2.8.0.zip
-
Follow instructions here: https://cloud.google.com/appengine/docs/java/tools/setting-up-intellij and setup intelliJ. The community edition does not work so you have to use the Ultimate paid version (there is a free trial). I used the Early Access Program: chose an option here.
You still need to download and install
-
the cloud SDK https://cloud.google.com/sdk/docs/
run `gcloud components install app-engine-java`
-
the App Engine SDK for java https://cloud.google.com/appengine/docs/java/download
-
-
Once the project cloned: create and configue GAE/build.properties
-
Create and configure GAE/war/WEB-INFO/appengine-web.xml
-
cd akvo-flow/GAE run the script ./start.sh
-
import project to intelliJ select akvo-flow select GAE and un-select all the others un-select all the libraries
-
Project structure, (F4) -> Modules -> Google app engine: select servlet
-
Add all dependencies add jars using mouse right click/add library:
- war
- war/WEB_INFO/lib
- gwtlibs
- Press F4 on project name. You will see Problems in the problems section, use intellij tool to fix them by adding all the libs to the artifact.
At this point if you press rebuild the project it should compile without errors.
-
Press Run -> Edit configuration
Add -> Google App Engine development server.
In open browser replace http://localhost:8080 by http://localhost:8888/_ah/admin
Go to Startup/Connection tab: for startup script un-select use default and select start.sh for start script
Accept and Save
-
Press run
You should sucessfully be able to go to http://localhost:8888/_ah/admin
-
Code formatting
Use this link to import eclipse code formatting file:
Config/ide/eclipse/eclipse-preferences.xml
https://blog.jetbrains.com/idea/2014/01/intellij-idea-13-importing-code-formatter-settings-from-eclipse/ -
Use Cursive plugin to view clojure files in IntelliJ Idea https://cursive-ide.com/userguide/
About Akvo Flow
Akvo Flow API
Developer Guides
- Deployments
- Development tools
- Android emulator setup
- Creating New Dashboard Instances
- Disabling Dashboard Instances
- Adding Translations to Dashboards
- Setup your development environment with IntelliJ IDEA
- Setup your development environment on Windows OS
Technical Specification
Regression Tests