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-commit
hooks. 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-commit
command will automatically execute beforegit commit
command. 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