how to login from other PC
Status: Beta
Brought to you by:
hibbert
Hi, I have some questions.
How do I public to web?Use port 80?
I want to let students to use Zocalo platform from their own computer but I don't know how to configure file.
Can Zocalo PM multiple login? I hope some guys can point me how to set.
What are differences between Zocalo PM and Zocalo Exp?
The Experiment version allows you to configure a lab experiment that will let a certain number of participants, each of whom starts with a specified amount of money and coupons trade for a set number of rounds, each of which has a predetermined length. At the end of the session, the experimenter gets to see a report on all the trading that took place. There are a number of other parameters that control what messages the participants will see, and what actions they can perform.
The PM version allows an unlimited number of users to register and trade in a dynamic set of markets. New markets can be opened and closed over time, and the users can each login when convenient, then logout and come back later. There's no limit to the time over which the trading can happen.
In both cases, multiple users can login and trade in the markets. When setting up the market, you specify the port at which users will connect. The experiment configuration defaults to port 30000, while the pm configuration defaults to port 80.
If you want more help, send me your email address (or create a source forge account so I can reply), and tell me which version of the software you installed.
Thanks for your answer.I'm running Zocalo 2009.1-PM now.
I have another question.I want to translate pages into Chinese.
Which files I can modify(e.g. Welcome.java)?Are they in JSPsupport folder?
Thanks.
The code that generates text for the web pages is nearly all segregated to two places: java code in the package net.commerce.zocalo.JspSupport and JSP pages under web/db. For the prediction markets, the pages that matter most are the web pages in purchaseClaim.jsp, Welcome.jsp, createAccount.jsp, and Market.jsp, and the corresponding java code in ClaimPurchase.java, WelcomeScreen.java, AcountCreationScreen.java, and MarketDisplay.java. The pairs of files for showing history and creating markets are also relevant, but less visible to users.
If I finish the code ,I have to package the net.commerce.zocalo and put in the jars folder. But I have no idea about purchaseClaim.jsp, Welcome.jsp, createAccount.jsp, and Market.jsp where I put.
The build tool Zocalo depends on is "ant". There's a driver script for ant in build/build.xml. The .jsp files are compiled by apache's jasper, and the defineJasper rule in the build file defines how it is called. If you don't have (and can't get) ant, then you'll have to run jasper manually, following the model in the defineJasper rule. The rule jsp-pm compiles jsp files for prediction markets. It builds jsp.jar based on all the jsp files in web/db.
Let me know if you need more help with this.