Skip to content

A ghostwriter Violet Evergarden for person who cannot write markdown

License

Notifications You must be signed in to change notification settings

DoonDoony/evergarden

Repository files navigation

Evergarden: HTTP API that converts Markdown to HTML

*The project name 'evergarden' is taken from the animation Violet Evergarden

🙇‍♂️ Built with

🎁 Prerequisites

🔖 How to start

# 🐍 Setup Python virtualenv
$ pyenv virtualenv evergarden 3.8.x

# 🐍 Or, use Anaconda
$ conda create --no-default-packages --name evergarden python=3.8.x

# Use virtualenv automatically (Anaconda)
$ echo 'layout anaconda evergarden' > .envrc

# Use virtualenv automatically (pyenv-virtualenv)
$ echo 'export PYENV_VIRTUAL_ENV=evergarden' > .envrc

# Install NPM Packages
$ npm install

# If there is no "Poetry" ...
$ curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3 -

# Install Python dependencies
$ poetry install --no-root

# Setup pre-commit hooks
$ poetry run pre-commit install

# Setup .env file
$ cp .env.sample .env
$ cp .env.sample .env.dev

# 🚀 Run
$ make runserver

# 🚀 Deploy
$ make <stage>-deploy

# e.g,.
$ make dev-deploy

✅ Todo

  • Wrap project into Docker
  • Setup GitHub Actions
  • Apply HMAC authentication to prevent abusing
  • Use AWS API Gateway api key

About

A ghostwriter Violet Evergarden for person who cannot write markdown

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published