Giter Site home page Giter Site logo

garvit-joshi / redux Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 0.0 1.19 MB

A cross-platform Application for storing encrypted User-Data

License: MIT License

C++ 98.23% CMake 1.34% C 0.43%
password cpp17 cryptopp cmake visual-studio cross-platform windows

redux's Introduction

Redux

A cross-platform Application for storing User-Data.

Ubuntu Windows

Building The App from Source(Linux): ๐Ÿ”จ

Prerequisites:

  • CMake >= 3.1
  • g++ >= 8 (CXX standard=17)
  • vcpkg

Steps:

  1. Download vcpkg and run
./bootstrap-vcpkg.sh
  1. To install the libraries for your project, run the below command in the root directory of vcpkg:
./vcpkg install cryptopp
  1. Download Redux and run this command assuming vcpkg is installed in home/username/Repos/vcpkg and Redux is located /home/username/Repos/Redux/
cmake -B /home/username/Repos/Redux/build -S . -DCMAKE_TOOLCHAIN_FILE=/home/username/Repos/vcpkg/scripts/buildsystems/vcpkg.cmake
  1. To compile the project run:
cmake --build /home/username/Repos/Redux/build
  1. Run The Executable:
./build/src/Redux

Building The App from Source(Windows): ๐Ÿ”จ

Prerequisites:

  • CMake >= 3.1
  • Microsoft Visual Studio 2019
  • vcpkg

Steps:

  1. Download vcpkg and run /bootstrap-vcpkg.bat

  2. For installing required modules, run one of these commands in the root directory of vcpkg:

    • vcpkg install cryptopp:x64-windows (For 64-bit PC)
    • vcpkg install cryptopp:x86-windows (For 32-bit PC)
  3. Opening cmd in root directory of Redux, and run these commands assuming your vcpkg is installed in C://vcpkg and Redux is located in D:\Repos\Redux:

    cmake -G "Visual Studio 16 2019" -A Win32 -S . -B "build32" -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake
    cmake --build build32 --config Release
    
  4. Binaries will be at D:\Repos\Redux\build32\src\Release\Redux.exe

Notes (if using Pre-Build Binaries for Windows):

  1. Please Install Microsoft Visual C++ Redistributable for Visual Studio 2019 before running binaries:

    1. For x64,
    2. For x86,
    3. For ARM64.
  2. The last thing is simply a matter of perception. If you are running any sort of anti-virus, like ZoneAlarm, Norton, McAfee, etc. then they will get a very unpleasant message about your program trying to do something considered dangerous. It may be due to system(); function used in program. Read more about it here and here

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.