Git Product home page Git Product logo

gophkeeper's Introduction

GophKeeper

Установка и настройка СУБД postgress

apt install postgresql

psql (14.11 (Ubuntu 14.11-0ubuntu0.22.04.1)) Type "help" for help.

postgres=# ALTER USER postgres WITH PASSWORD 'postgres';

postgres=# CREATE DATABASE praktikum;

Установка и настройка s3

Linux

wget https://dl.min.io/server/minio/release/linux-amd64/minio_20240510014138.0.0_amd64.deb

dpkg -i minio_20240510014138.0.0_amd64.deb

MINIO_ROOT_USER=admin MINIO_ROOT_PASSWORD=password minio server /mnt/data --console-address ":9001"

Windows

PS> Invoke-WebRequest -Uri "https://dl.min.io/server/minio/release/windows-amd64/minio.exe" -OutFile "C:\minio.exe"

PS> setx MINIO_ROOT_USER admin

PS> setx MINIO_ROOT_PASSWORD password

PS> C:\minio.exe server F:\Data --console-address ":9001"

Создание Access Key

Сделать через WebUI

S3AccessKeyID = "aHLytUVhTKOPMYD6nYA2"

S3SecretAccessKey = "F2Avh18pul7X8IsGhCTeWPnaQNhlOuda3iAYSO30"

Сборка дистрибутива

make build

Запуск сервера

goph-keeper-windows-server.exe

Запуск клиента

goph-keeper-windows-client.exe

Порядок работы

health

regiter user1 user1

logout

login user1 user1

put obj1 1 data1

get obj1

put obj2 3 inFilename

get obj2 outFilename

exit

gophkeeper's People

Contributors

stas9132 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.