This is Othmane Rifki's collection of personal notes on coding, mathematics, and machine learning. This repository contains the source files for my website, https://othrif.github.io/.
Run
./deploy.sh
hugo new --kind post post/my-post
cd content/post/my-post/
jupyter notebook
jupyter nbconvert Untitled.ipynb --to markdown --NbConvertApp.output_files_dir=.
cat firstJupyter.md | tee -a index.md
####first time
rm -rf public/
git submodule add -f -b master https://github.com/othrif/othrif.github.io.git public
hugo
cd public/
git add .
git commit -m "Initial commit"
git push -u origin master
hugo
cd public
git add .
git commit -m "Build website"
git push origin master
cd ..
Copy to CERN server:
cp -r /Users/othmanerifki/projects/website/notes/public ~/cernbox/www
cd <MY_WEBSITE_FOLDER>
hugo new --kind post post/my-post
cd <MY_WEBSITE_FOLDER>/content/post/my-post/
jupyter nbconvert Untitled.ipynb --to markdown --NbConvertApp.output_files_dir=.
# Copy the contents of Untitled.md and append it to index.md:
cat Untitled.md | tee -a index.md
# Remove the temporary file:
rm Untitled.md
hugo server
Enter http://localhost:1313 in the browser.
academic import --bibtex <path_to_your/publications.bib>
- Download a theme into the same-named folder. Choose a theme from https://themes.gohugo.io/ or create your own with the "hugo new theme " command.
- Perhaps you want to add some content. You can add single files with "hugo new /.".
- Start the built-in live server via "hugo server".