{"id":21258564,"url":"https://github.com/ubc/busiq","last_synced_at":"2025-07-11T02:32:46.313Z","repository":{"id":30589892,"uuid":"34145007","full_name":"ubc/busiq","owner":"ubc","description":"FluidReview Business Email Query","archived":true,"fork":false,"pushed_at":"2015-11-11T00:32:50.000Z","size":156,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-15T06:35:01.873Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ubc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-17T23:36:52.000Z","updated_at":"2025-01-28T18:08:40.000Z","dependencies_parsed_at":"2022-07-19T23:49:46.433Z","dependency_job_id":null,"html_url":"https://github.com/ubc/busiq","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ubc/busiq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubc%2Fbusiq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubc%2Fbusiq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubc%2Fbusiq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubc%2Fbusiq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ubc","download_url":"https://codeload.github.com/ubc/busiq/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubc%2Fbusiq/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264712873,"owners_count":23652680,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-21T04:09:42.218Z","updated_at":"2025-07-11T02:32:46.030Z","avatar_url":"https://github.com/ubc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"FluidReview Business Email Query\n================================\n\nConfiguration\n-------------\n\nTo change the database, edit DATABASE__URI in the environment variable.\n\nUpdate Local Database\n---------------------\n\nThe database content is pulled from IAM Oracle database. The content is updated daily by a cron job under root account. In case there is a need of manually updating the local database, run the following command:\n\n    cd /path/to/busiq\n    PYTHONUNBUFFERED=1 python dbupdate.py\n\nMake sure the ORACLE_URI and SQLITE3_URI environment variables are set. On production server, they are set in /etc/profile.d/busiq.sh.\n\nDeployment\n----------\n\nThe production deployment is using uwsgi and nginx. The setting is /etc/uwsig.conf. The config file contains settings to run uwsgi server and the environment variables for the app config as well.\n\nTo deploy the script, include the following line on FluidReview page where the invitation form is presented.\n\n    \u003cscript src=\"http://busiq.ctlt.ubc.ca/static/js/busiq.js\"\u003e\u003c/script\u003e\n\nDevelopment\n-----------\n\nCreate database structure and populate database:\n\n    python\n    \u003e\u003e\u003e from busiq import db, Staff\n    \u003e\u003e\u003e db.create_all()\n    \u003e\u003e\u003e staff = Staff('John', 'Smith', 'john.smith@ubc.ca')\n    \u003e\u003e\u003e db.session.add(staff)\n    \u003e\u003e\u003e db.session.commit()\n    \nStart the backend server\n\n    python busiq.py\n    \nThis will run backend server at localhost:5000\n\n    open static/index.html\n    \nWill open the test page. When typing in the first or last name field, an ajax request should be send to backend server to populate the dropdown list.\n\nNote you may need to change the script URLs in the two html files to point to the local file instead of busiq.ctlt.ubc.ca","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fubc%2Fbusiq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fubc%2Fbusiq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fubc%2Fbusiq/lists"}