This is Rakesh Kumar personal website which is still a work in progress.
- Install virtualenv wrapper
brew install virtualenvwrapper- Create a virtual env
mkvirtualenv githubpages- Run the following command to install the python dependencies.
pip install -r requirements.txt- Run the following command to install
pre-commithooks. This is one time step. Once it is done then you do not need to repeat it.
pre-commit install- Once this is done the
pre-commitcommand will automatically execute beforegit commitcommand. In case you want to manually run it you can run this command:
pre-commit run --all-files# Build
mkdocs build
# To launch local website
mkdocs serve