Personal blog that uses Serum blog engine written in Elixir.
Clone using Elixir directory naming patterns:
git clone git@github.com:wevtimoteo/wevtimoteo.github.io.git wevtimoteo_github_io
Install Elixir and Erlang using asdf
:
asdf install
This will install proper versions described in .tool-versions
file.
Install dependencies and run Serum server:
mix do deps.get, deps.compile
mix serum.server
Then access http://localhost:8080
To quit, instead of pressing Ctrl-c
, prefer to type quit
First you need to install ghp-import
:
pip install ghp-import --user
Then you can use ./publish
, it will run:
serum.build
task foroutput
directoryghp-import
Python tool: that will export specified content in a given directory for a given branchpush
it to remote repo