Skip to content

vojtechruz/vojtechruzicka-blog

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

About

This is the source code for my blog powered by GatsbyJS, running at https://www.vojtechruzicka.com/. All the articles are included in Markdown format under /src/posts.

Forking

Feel free to fork this blog and use it for your purposes. You can delete all the posts and change the personal info, themes or anything else.

Contributing

If you would like to contribute - such as fixing or updating some information, propose a guest post etc., please check CONTRIBUTING.md.

Running locally in development

  1. Make sure you have node.js installed.
  2. Run npm install in the root directory to download the dependencies.
  3. Run gatsby develop to run local development server.
  4. Access the running blog on http://localhost:8000/.

To enable search you will need to provide your own configuration for Algolia DocSearch. You will need to provide following properties (environment variables):

GATSBY_DOCSEARCH_APP_ID
GATSBY_DOCSEARCH_INDEX_NAME
GATSBY_DOCSEARCH_API_KEY

For local development you can create .env.development file in the root directory and add values for your env variables:

GATSBY_DOCSEARCH_APP_ID=XXX
GATSBY_DOCSEARCH_INDEX_NAME=XXX
GATSBY_DOCSEARCH_API_KEY=XXX

For production build, you will need to set these variables on the build machine or your build service (such as Netlify).