https://github.com/patricksanders/mdb-to-postgres
Flask app to import an Access database into Postgres
https://github.com/patricksanders/mdb-to-postgres
Last synced: 5 months ago
JSON representation
Flask app to import an Access database into Postgres
- Host: GitHub
- URL: https://github.com/patricksanders/mdb-to-postgres
- Owner: patricksanders
- License: gpl-3.0
- Created: 2016-02-23T02:29:06.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-05-06T14:34:49.000Z (about 2 years ago)
- Last Synced: 2025-06-04T02:16:42.951Z (about 1 year ago)
- Language: Python
- Size: 69.3 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Install Instructions
* Ensure PostgreSQL is installed and configured
* Copy mdb-to-postgres folder to destination system
* Install dependencies
```
pip install -r requirements.txt
```
* Fix permissions
```
chown -R www-data:www-data mdb-to-postgres/
chmod -R 750 mdb-to-postgres/
```
* Add wsgi directives to apache config
```
WSGIDaemonProcess mdb-to-postgres user=www-data group=www-data threads=5
WSGIScriptAlias /importdb /apps/mdb-to-postgres/mdb_to_postgres.wsgi
Alias /importdb/static /apps/mdb-to-postgres/static
WSGIProcessGroup mdb-to-postgres
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
```
* Make any necessary changes to mdb-to-postgres/default-config.py
* NOTE: Make sure www-data has permissions to write to the working directory
* Restart Apache