Skip to content

agaoglu/ra-couchdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Result Announcer

A simple web application to be used as a tool to announce the results of an exam. Whole scenario is summarized in this post. This project runs on couchdb alone in a sense it is a couchapp. Blogged development experiences here.

Running

You will need a running couchdb first. Although it is possible to use some other tool, default way of pushing the application to db is to use couchapp command-line python tool. If your couchdb is located on localhost:5984 and you defined an admin with username:admin, password:admin all you have to do is

couchapp push

This will define a database named ra, and install the application in design doc app. Navigate to http://localhost:5984/ra/_design/app/_show/result/ to get to the login screen. If your couchdb installation is elsewhere you should define it as

couchapp push http://<adminuser>:<adminpass>@<host>:<port>/<dbname>

Loading Data

Getting to the login screen hardly means anything w/o data. In order to load some sample results into the db, you can supply your dbname to the script load.py as

python load.py ra

After that you can use any number divisable by 3 between 1M and 10M as login and pass.

Demo

The app has been deployed here. But it is not full with 3M records, there are only 90000. You should try any of the following username:password pairs

1000002:1000002
1000005:1000005
...
1269999:1269999

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published