Giter Site home page Giter Site logo

wahlzeit's Introduction

Wahlzeit: Open Source Software for Photo Rating Sites

PART I: INTRODUCTION

Wahlzeit is an open source web application that lets users upload photos and rate photos of other users on a 1..10 scale. Users get to present their best photos and learn what other users thought of theirs.

Wahlzeit is used to teach agile methods and open source software development at the Professorship of Open Source Software at the Friedrich-Alexander-University of Erlangen-Nürnberg.

It is an easy-to-learn yet complete Java web application that is available under the GNU Affero Public License v3 license, see the LICENSE.txt file.

Starting Wahlzeit 2.0, Wahlzeit is a Google App Engine app. It can be run on your local machine or be deployed to Google App Engine for broader availability.

For more information, please see http://github.com/dirkriehle/wahlzeit and http://osr.cs.fau.de.

PART II: WAHLZEIT SETUP

Set-up development for Wahlzeit

  1. Create your own repository by forking Wahlzeit from dirkriehle to yourname
  2. Install Java JDK, set JAVA_HOME, and install git
  3. On the command line, create or choose a project directory and go there
  4. Run git clone https://github.com/yourname/wahlzeit.git

Run Wahlzeit on your local machine

  1. On the command line, cd wahlzeit
  2. Run ./gradlew appengineRun
  3. Wait until all gradle and project dependencies have been downloaded and the local instance has been started
  4. Open http://localhost:8080 to try out Wahlzeit on your machine

Debug Wahlzeit on your local machine

  1. Run Wahlzeit on your local machine (see above)
  2. Create a remote java debug configuration in your IDE with host localhost and port 8000 (not 8080)

Deploy Wahlzeit to Google App Engine

Create a Google App Engine instance:

  1. If you don't have one yet, create a Google account (required)
  2. Go to https://console.developers.google.com and login with your Google account
  3. In the developers console, select create a project 1. Choose a project name, called below yourproj 2. Accept the terms of service, for better or worse

Configure your repository and deploy Wahlzeit

  1. Configure your project: 1. Open the file /src/main/webapp/WEB-INF/appengine-web.xml 2. Replace the project name with yourproj: <application>yourproj</application> 3. Save and close the appengine-web.xml
  2. Run ./gradlew appengineUpdate
  3. If a browser window pops up and asks for permission, accept it
  4. Copy the code from the browser window to your gradle console
  5. If everything works out, you will find your project at https://yourproj.appspot.com

Done!

wahlzeit's People

Contributors

dirkriehle avatar hannesd avatar tfrdidi avatar thilovoigt555 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.