-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Faiz Jazadi <[email protected]>
- Loading branch information
Showing
47 changed files
with
359 additions
and
2,191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.