localleon / hugo-s3-cms

Exam: Content Upload Web-Application for Hugo Markdown Format

Home Page:http://hugo-s3-cms.lrau.xyz/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hugo-s3-cms

This project is part of an exam at FOM in the module "Web-Technologien". It's only published for eductional purposes.

hugo-s3-cms is a simple application for uploading markdown files into an s3-storage. We can use it to receive posts for our static hugo-websites and inject them into their build pipeline.

Login

Refere to the documentation pdf file for credentials.

AWS Infrastructure

The following access points are reachable over the public internet:

Local Testing / Invoking

Use the following commands for local testing. You need to have the AWS Credentials with Bucket Access configured locally.

serverless invoke local -f main -e BUCKET_NAME=hugo-cms-store1 --path sample_events/get.json
serverless invoke local -f main -e BUCKET_NAME=hugo-cms-store1 --path sample_events/delete.json
serverless invoke local -f main -e BUCKET_NAME=hugo-cms-store1 --path sample_events/list.json
serverless invoke local -f main -e BUCKET_NAME=hugo-cms-store1 --path sample_events/post.json

Dev Enviroment Setup

Install requirements (you can decide to make a virtualenv beforhand for python)

node -g install serverless 
serverless plugin install -n serverless-python-requirements
pip install -r requirements.txt
pip install -r requirements-dev.txt

About

Exam: Content Upload Web-Application for Hugo Markdown Format

http://hugo-s3-cms.lrau.xyz/


Languages

Language:Python 39.1%Language:JavaScript 32.6%Language:HTML 19.7%Language:CSS 8.6%