661 VGS - Function to collate 2965D log sheets into a master log and database.
Project description
Log Keeper
661 VGS - Function to collate 2965D log sheets into a single master log file.
Usage
-
Ensure python is installed and
python.exe
is added to the path. -
Ensure git is installed e.g. "Git for Windows"
-
Using the Git Bash terminal, download this repository.
git clone PROJECT_URL
- Navigate into the project folder.
cd viking-log-keeper
- Create a virtual environment.
python -m venv .venv
- Install the required packages.
.venv\Scripts\activate
pip install .
-
Sign up to MongoDB Atlas. It is free for 512 MB.
-
Create a
.config
directory and save your DB credentials into it. Be sure to replace each one of the fields below e.g. changemymongo.pdd134.mongodb.net
to your DB connection URL.
mkdir .config
$json='{"DB_URL": "mymongo.pdd134.mongodb.net", "DB_USERNAME": "mymongo", "DB_PASSWORD": "pass123", "DB_COLLECTION_NAME": "666vgs", "DB_NAME": "myDB"}'
echo "$json" > .config/database-config.json
- Run the log keeper function.
python -m log_keeper.main
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
Built Distribution
Close
Hashes for viking_log_keeper-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | afe787fd9fad082dd029dc8dbced69da0f73eeb3b31b500cf9d51e4438d64404 |
|
MD5 | 373f046446537c60e885ff8e1e3766db |
|
BLAKE2b-256 | 52340f9d6fc769354cfbb3cfb2a88012d0e397ed5bb4644a7c1223a4119485ed |