Create github pages with lektor Part 1

Advance preparation

Create a new repository by referring to github pages.

Example: This time kentaro0919.github.io

$git clone repository

Example git clone https://github.com/kentaro0919/kentaro0919.github.io

Copy the repository locally with

lektor work

First, specify the destination to build the page in the new repository.

$ lektor build --output-path path/kentaro0919.github.io

Started build
U index.html
U about/index.html
U projects/index.html
U blog/index.html
U static/style.css
U blog/first-post/index.html
Finished build in 0.08 sec
Started prune
Finished prune in 0.01 sec

Move to repository

$ cd path/kentaro0919.github.io

Confirm that it has been created

$ ls
about      blog       index.html projects   static

Add to repository

$ git add .

commit

$ git commit -m "first commit"

push to github

$ git push

I was able to publish with just this

http://kentaro0919.github.io/

It seems that it can be published from the inside, so next time it will be updated from the inside

Recommended Posts

Create github pages with lektor Part 1
[Golang] Create docker image with Github Actions
Create test data like that with Python (Part 1)
Create fractal shapes with python part1 (Sierpinski Gasket)
sandbox with neo4j part 10
Create a pseudo REST API server using GitHub Pages
Create filter with scipy
Image processing with Python (Part 2)
Studying Python with freeCodeCamp part1
Create an environment with virtualenv
Scraping with Selenium + Python Part 1
Create Cloud TPU with tf-nightly
Create an API with Django
Create / search / create table with PynamoDB
Create 3d gif with python3
Create graph with plotly button
Create a homepage with django
Studying Python with freeCodeCamp part2
Install github repository with pip
Create Image Viewer with Tkinter
Image processing with Python (Part 1)
Tested pipenv with GitHub Actions
Solving Sudoku with Python (Part 2)
Create custom rules with ElastAlert
Create patent map with Streamlit
Image processing with Python (Part 3)
Scraping with Selenium + Python Part 2
Create a directory with python
Create xlsx file with XlsxWriter