Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/losthopes/secured-accounts-lab
Lab for Security of programs and Data course
https://github.com/losthopes/secured-accounts-lab
auth cryptography labs
Last synced: about 3 hours ago
JSON representation
Lab for Security of programs and Data course
- Host: GitHub
- URL: https://github.com/losthopes/secured-accounts-lab
- Owner: LostHopes
- License: mit
- Created: 2024-11-07T15:13:27.000Z (13 days ago)
- Default Branch: main
- Last Pushed: 2024-11-18T11:59:36.000Z (2 days ago)
- Last Synced: 2024-11-18T12:58:09.486Z (2 days ago)
- Topics: auth, cryptography, labs
- Language: Python
- Homepage:
- Size: 134 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This project is made for my university assignment.
Every task contains a separate branch and screenshots of completed task.
For this purpose I'm gonna use Flask framework, which requoires python to be installed with a few libraries
listed in the pyproject.toml file.# Installation
The app can be launched manually and through docker container.
First step is to clone git repo:Using HTTPS
```bash
git clone https://github.com/LostHopes/secured-accounts-lab.git secure-accounts
```or SSH
```bash
git clone https://github.com/LostHopes/secured-accounts-lab.git secure-accounts
```## Manual installation
Create python virtual environment
```bash
python -m venv .env
```Activate python virtual environment
```bash
source .env/bin/activate
```Install packages
```bash
pip install --upgrade pip
pip install poetry
poetry install
```
Launch an app
```bash
python src/app.py
```## Installation using Docker
Build an image from a Dockerfile
```bash
sudo docker built -t sucure-accounts .
```Run a container
```bash
sudo docker run -p 5000:5000 secure-accounts
```# References and additional information
1. [Docker official documentation](https://docs.docker.com)