aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-05-15fix: Add missing namespaceGabriel A. Giovanini
2022-05-15fix: Make actix follow PORT envvarGabriel A. Giovanini
The server needs to follow `POST` envvar for heroku's sake.
2022-05-15feat: Add actix http server optionGabriel A. Giovanini
The project has two target bin: actix and hyper. - Actix is a lot more capable, feature complete and can handle more request with lower response time but has a bigger memory, size footprint. - Hyper is simpler less capable mure with a much smaller footprint. So by default I'll keep using hyper.
2022-05-15feat: Add missing blog postGabriel A. Giovanini
Add the missing blog post from my hugo blog. Also add a locustfile so I can do some stress test locally.
2022-05-14feat: Add title and date into the post templateGabriel A. Giovanini
Now post template has title and created date by defaul.
2022-05-14fix: Move `musl-dev` to apkGabriel A. Giovanini
`musl-dev` is alpine package not cargo
2022-05-14fix: Add missing package to buildGabriel A. Giovanini
Because I moved to `rust:alpine` it is necessary to add `musl-dev` so the build works.
2022-05-14feat: Move code to blogGabriel A. Giovanini
- Move most logic of the blog to blog.rs, making it easier to test. - Now the file contains the creation date of the blog post to be parsed. - Add chrono to parse datetime, so later we can order by date. - Refactor gitlab pipeline, move `before_script` to a proper place.
2022-05-14feat: Add title parserGabriel A. Giovanini
Add title parse so it yields a better post list.
2022-05-13fix(shasso): Fix code formatGabriel A. Giovanini
Remove whitespace.
2022-05-08feat: Add testing reportGabriel A. Giovanini
Add test report and make it a requiremnt for `production` stage. Also revert all changes from picocss file. It will be refactored and reduced after all the MVP is done.
2022-05-08ref: Add embded rust and routerGabriel A. Giovanini
- Use embed rust to load and resolve file from `content/post` folder, so the whole process is a bit more dynamic. - Add router to to resolve the path. It is the first step to try to get the code a bit cleaner.
2022-05-08fix: Pick a broader address bindGabriel A. Giovanini
Trying to fixe the following issue from Heroku: > Error R10 (Boot timeout) -> Web process failed to bind to $PORT > within 60 seconds of launch
2022-05-08fix: Change process typeGabriel A. Giovanini
Change heroku procfile process type to web so the process can receive http requet through `POST` envvar.
2022-05-08feat: Add heroku ProcfileGabriel A. Giovanini
2022-05-08feat: Add port env varGabriel A. Giovanini
Now the port can be set through `PORT` enviroment variable, this is useful for deploying on heroku.
2022-05-08fix: Update .gitlab-ci.yml file to install dplGabriel A. Giovanini
2022-05-08feat: Add .gitlab-ci.yml fileGabriel A. Giovanini
2022-05-08feat: Add embedded faviconGabriel A. Giovanini
Add embedded base64 favicon
2022-05-07feat: Add early blog implementationGabriel A. Giovanini
It is just a really crappy implementation to get it running until a figure the pieces of the project out.
2022-05-05Initial commitGabriel A. Giovanini