This repository includes codes for my personal blog.
Please note that I'm using an MacOS with an M2 chip and haven't tested on any other enviroments. I'm not doing anything fancy so the code should run on other systems too, but I can't guarantee.
- Install miniconda.
- Create a virtual enviroment and activate it. I'll use Python 3.11
conda create -n your_env_name python=3.10
conda activate your_env_name
- Install the requirements by running
chmod +x install_pip_requirements.sh
./install_pip_requirements.sh
- Add your virtual env to ipykernel so we can use the enviroment on jupyter notebook.
python -m ipykernel install --user --name=your_env_name # name can be anything
5. Modify your PYTHONPATH.
I just put `export "PYTHONPATH=$PYTHONPATH:/Users/dhwon/codes-for-blog/"` in my `~/.bash_profile`.
If you're using vscode, it's convenient to update the `.env`.
- Run
pre-commit install