Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENHANCEMENT #38: Moving blog posts to subfolder #116

Merged
merged 4 commits into from Nov 26, 2018
Merged

ENHANCEMENT #38: Moving blog posts to subfolder #116

merged 4 commits into from Nov 26, 2018

Conversation

cwchristerw
Copy link
Contributor

@cwchristerw cwchristerw commented Nov 14, 2018

TESTED WITH DOCKER
cd /tmp
git clone https://github.com/Mikaela/mikaela.github.io.git
cd mikaela.github.io
docker run --net host --volume="$PWD:/srv/jekyll" -it jekyll/jekyll:3.8 jekyll serve

Go to http://localhost:4000 with you browser

TEST WITH LOCAL INSTALLATION

sudo apt-get install ruby ruby-dev build-essential

echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc
echo 'export GEM_HOME=$HOME/gems' >> ~/.bashrc
echo 'export PATH=$HOME/gems/bin:$PATH' >> ~/.bashrc
source ~/.bashrc

gem install jekyll bundler

bundle exec jekyll serve

cd /srv/jekyll
git clone https://github.com/Mikaela/mikaela.github.io.git
cd mikaela.github.io
mv * ../
rm mikaela.github.io

Go to http://localhost:4000 with you browser

FOR SOME LINKS YOU WILL HAVE TO MANUALLY CHANGE HTTPS TO HTTP WHEN TESTING ON LOCAL MACHINE

FIXES #38

READ ABOUT MOVING PROCESS FROM: https://www.reddit.com/r/Jekyll/comments/3exfsn/github_pages_blog_on_root_or_blog_subfolder/

@Mikaela
Copy link
Owner

Mikaela commented Nov 25, 2018

I guess this is currently waiting for me to feel enough motivation to edit those 45 files (+ any written aftewards) to add redirect_from from the old addresses.

@cwchristerw
Copy link
Contributor Author

I guess this is currently waiting for me to feel enough motivation to edit those 45 files (+ any written aftewards) to add redirect_from from the old addresses.

I have made necessary changes

@cwchristerw
Copy link
Contributor Author

Consider merging pull request to your repo

@Mikaela Mikaela merged commit ade344d into Mikaela:master Nov 26, 2018
Mikaela added a commit that referenced this pull request Nov 26, 2018
Closes #38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants