Skip to content
This repository was archived by the owner on Jan 23, 2022. It is now read-only.

rozumalex/notify

Repository files navigation

Notify

Build Status License: MIT


Notify is asynchronous app for creating notes based on aiohttp.

Installation Guide

If you want to get a copy of this app for your personal usage, please follow the instructions below.

Clone the project to your local machine

git clone https://github.com/rozumalex/notify

Install poetry

pip install poetry

Install dependencies

Note: you need to get to the directory with the project, then you can run the command:

poetry install

Install postgresql and create user and database

sudo apt install postgres psycopg2 -y
sudo -u postgres psql
CREATE DATABASE <DATABASE_NAME>;
CREATE ROLE <USER_NAME> WITH ENCRYPTED PASSWORD '<PASSWORD>';
GRANT ALL PERMISSIONS ON DATABASE <DATABASE_NAME> TO <USER_NAME>;
ALTER USER <USER_NAME> CREATEDB;

Create config.yaml file in the main folder

Note: insert your personal data.

postgres:
  database: DATABASE_NAME
  user: USER_NAME
  password: PASSWORD
  host: localhost
  port: 5432

site:
  secret_key: SECRET_KEY
  lang: en
  charset: utf-8
  site_name: SITE_NAME

Run app

poetry shell
python app.py

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Async web application for creating notes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors