Code Monkey home page Code Monkey logo

diary's People

Contributors

allenfantasy avatar joyeecheung avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

diary's Issues

【Solve】Local preview not working :(

First I want to thank you for developing this project cause it's exactly what I need 👍

One little problem is, when I finish editing the post and want to see from local server by using gulp server command, it only show up the first day's diary but not all my diary in project folder.

I don't know weather it's my own problem or it's the code. My command of daily usage is:

  • cd into/the/sub/module/folder
  • git pull
  • cd ..
  • gulp build
  • gulp server

Then I can't see the everyday post inside my submodule folder, but only the first day's post. And after I enter: gulp deploy , I can see everything is fine on the internet. Is it my mistake of these command or it's the code's issue?

Though it's not a big problem for daily usage, but I still wigh I could see the local preview before I push to the GitHub...

在build部分遇到问题

你好,我在执行git submodule add git://new/submodule.git diary这一步时,执行失败。

fatal: Unable to look up new (port 9418) (nodename nor servname provided, or not known)
fatal: clone of 'git://new/submodule.git' into submodule path '/Users/web/Desktop/diary/diary' failed

我ping了github.com,并添加到/etc/hosts中依然无法解决。请问你有好办法吗?

May have problems with submodule

Problem

Just found myself stuck with submodule after forking & pulling down the repo.

After changing config.js and .gitmodules, I've tried the instructions from README:

git submodule sync
git submodule init
git submodule update

Then some error bumped out:

Unable to checkout 'b86879f37437385af97c13ec55947e3a8969f45f' in submodule path 'diary'

It seems like git had store the head ref of the original submodule and would checkout some point even if .gitmodules have been modified.

My .gitmodules:

[submodule "diary"]
    path = diary
    url = [email protected]:allenfantasy/my-tech-diary.git

Solution

I would like to improve this project and write my blog as well, but haven't found a perfect solution ( c the reference )

  • Switch the old submodule to the new
  • Delete the old submodule & add a new one

Reference

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.