Skip to content

Commit

Permalink
Initial commit for v2
Browse files Browse the repository at this point in the history
Signed-off-by: Faiz Jazadi <[email protected]>
  • Loading branch information
lc-at committed Nov 22, 2023
1 parent bed9b2b commit ff6dd93
Show file tree
Hide file tree
Showing 47 changed files with 359 additions and 2,191 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
GO := go
MAIN_PKG_PATH := ./cmd/lcatsrv

run:
$(GO) run $(MAIN_PKG_PATH)

build:
$(GO) build -o bin/$(notdir $(MAIN_PKG_PATH)) $(MAIN_PKG_PATH)
23 changes: 6 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,15 @@
# lcat.dev
This repository contains the source code for my personal website [lcat.dev](https://lcat.dev).

## Installing
1. `pip install -r requirements.txt`
2. `cp config.py.template config.py` and adjust `config.py` file accordingly.
3. Run all migrations: `flask db upgrade`
This repository contains the source code for my personal website
[lcat.dev](https://lcat.dev).

## Deploying
Lcat is Flask-based and runs perfectly (tested) only on Python 3.7.3.

- Below is an example of deployment using Gunicorn.
```
gunicorn -b :7211 wsgi:app
```

- Alternatively, you can also use Flask's development server.
```
python wsgi.py
```
This v2 of my website will be built with Go just so I can learn more about the
language.

## License

This project is licensed under MIT License.

## Contribution

Any kind of contribution is highly appreciated.
27 changes: 0 additions & 27 deletions app/__init__.py

This file was deleted.

60 changes: 0 additions & 60 deletions app/models.py

This file was deleted.

Loading

0 comments on commit ff6dd93

Please sign in to comment.