A browser based animal management system
Project description
Glams
- Title:
Glams - A browser based animal management system
- Author:
Kyle Ellefsen
- Date:
2015.06.04
- Description:
This program creates a MySQL database containing mouse colony information. It also contains a web server which, when launched, allows users to retrieve and update information on the database.
INSTALLATION FOR WINDOWS
Install MySQL (for windows.)
Install the Developer version.
Choose Sever Machine when prompted for ‘server configuration type’.
Choose Enable TCP/IP Networking if you would like to access Glams from other computers.
Leave the port number as the default 3306.
Keep Open firewall port for network access checked.
Use your lab password as the MySQL Root Password.
Add a user.
Set ‘host’ to be <All Hosts (%)>.
Set ‘Role’ as DB Admin.
Leave authentication as MySQL. This user account will be in Glams to communicate with MySQL, and it will be saved as plaintext, so make sure it is a password you don’t use for anything else. Remember it for a later step.
Run Windows Service as a Standard System Account. This automatically starts MySQL on Windows startup.
Install Glams using the installer.
Run Glams by clicking the new icon on your desktop.
Open a browser, go to http://localhost/, enter the user and password.
Restart Glams and refresh your browser.
Login as admin (password is ‘password’) and create a user. Sign out and sign in as that user.
INSTALLATION FOR LINUX AND MAC OSX
I have not tested installation on these systems.
Install and run MySQL
Install the latest version of Python 2 (2.7.6. as of 2013.12.17)
Install pip (instructions at pip-installer.org.)
Install lxml.
Install Glams. In a command line, change directory to where pip.py is installed. Then type:
pip install glams
In a command line, change directory to where Glams is installed. Launch the Glams server by running:
main.py
in the Glams directory.
Open a browser, go to http://localhost/, enter the user and password.
Restart Glams and refresh your browser.
Login as admin (password is ‘password’) and create a user. Sign out and sign in as that user.
INSTRUCTIONS FOR Glams INTERFACE
Also included in Glams is a package called glamsinterface. This allows you to interact with the data stored on Glams outside of the web browser. For instance, if you have animals associated in Glams with experiments, you can find all of the experiments done on a particular strain or on animals of a particular age. You can set up another database with the data for those experiments and link the two databases. This could help automate data analysis, allowing researchers to spend more time designing experiments and less time rearranging spreadsheet values.
TODO
Add full calendar functionality
Save the column order when a user moves a column.
add ‘date audited’ to each cage. Create a button a user can push to confirm cage information.
Add column with ‘Days Since Possible Mating’ in cage view. If any mature male mice entered a cage with mature female mice, count down 21 days
Add column “Days Since Birth” in cage view.
BUGS
If viewing on the chrome web browser which has the google docs app installed, you can’t view mouse or cage information. This might be a chrome bug.
Sometimes creates two ‘housing’ entries when dragging mouse from one cage to another. Very hard to replicate bug.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file Glams-0.2.5.zip
.
File metadata
- Download URL: Glams-0.2.5.zip
- Upload date:
- Size: 367.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54aeca36c01db87201a1cd9b6efe148b049c79f2dd80be58d10ec952a3ecb486 |
|
MD5 | 46c086f91a91f26d12410fe744463494 |
|
BLAKE2b-256 | ab0dedbcf52c64d127723d85d252debc103aaa7b2de93f80e1e5dff661fc1816 |