araa47 / Locketry

Locketry Website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Locketry

A Smart Encryption Platform that Enables Time Encryption using Ethereum Smart Contracts

The Locketry Website: https://www.locketry.com/

Introduction

The folling repo contains the locketry website souce code

Website

The website contents can be found under the "templates" and "static" directories.

Server

Python flask is used as the server to serve the website contents in the development environment.

In the production environment gunicorn is used.

Installation

  1. Clone the project by running
git clone https://github.com/araa47/Locketry.git
  1. move into the project directory
cd Locketry 
  1. Install python3 on your platform of choice and then install pipenv by following the instructions below

Pipenv: https://github.com/pypa/pipenv

  1. Enable pipenv by typing in the following command pipenv shell

  2. Install all the dependcies for the project by typing the following command pipenv install

  3. Create a configuration file by copying ".env.example" file as ".env"

cp .env.example .env
  1. Set the neccesary configs in the .env file. You may need to disable and re-enable pipenv to make sure your new configs are used. You can do this by running the following command after setting the config
exit
pipenv shell 
  1. You can run the project locally in your development environment by running the following command
python3 app.py 

File Information

runtime.txt: has information of python version to use for Heroku

Procfile: file used by gunicorn for config

About

Locketry Website


Languages

Language:CSS 71.7%Language:HTML 23.6%Language:JavaScript 2.6%Language:Python 2.0%