Add Text File containing relevant datasource urls.

First diary entries written.
Wiki entries on how to setup a python virtual env for the project
This commit is contained in:
Sebastian Lenzlinger
2023-11-16 17:27:21 +01:00
parent b47ee9ea1d
commit 552b49f118
5 changed files with 191 additions and 33 deletions

View File

@@ -0,0 +1,16 @@
# Project Diary
| Version<br/> 0.01 | Author: <br />michel.romancuk@stud.unibas.ch<br />sebastian.lenzlinger@unibas.ch<br /> | HS 2023<br />Databases<br /> |
|-----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Date | | Problems |
| Oktober/ pre 16.11.23 | Decision to use postrges server. <br/> Server setup at slenzlinger.dev<br/> Setup pgadmin at [pgadmin.slenzlinger.dev](pgadmin.slenzlinger.dev) | |
| 20.11.2022 | Integrated Events table with the time and location. Not done yet | Had problems with the identity of the rows. Solution is to add a primary key at the beggining of the CSV, which helps keep the identity of the rows and the integrity of the database. |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| |

View File

@@ -0,0 +1,25 @@
# Setup Of Virtual Python dev env
First open the terminal and make sure to be in the root directory.
All steps assume one is in the root folder.
## Create Virtual environment
```
python3 -m venv db23-project-venv
```
## Activating the virtual environment
```
source db23/bin/activate
```
#### When in the environment ``db23-project`` just install all needed packages.
```
pip3 install pkg_name
```
## Getting back out
```
deactivate
```
# List of used packages
See ``requirements.txt``
# Setting up postgres
# Setting up pgadmin as container serverd by nginx