GithubHelp home page GithubHelp logo

Remove personal stuffs about starter HOT 15 OPEN

quangtt-rks avatar quangtt-rks commented on May 10, 2024
Remove personal stuffs

from starter.

Comments (15)

quangtt-rks avatar quangtt-rks commented on May 10, 2024 1

In short, you should provide a username for Disqus plugin to work, if not, comment sections should disappeared.

from starter.

hiensarahly avatar hiensarahly commented on May 10, 2024

Hi anh Quang Teo!

I followed your guide to remove the Disqus short name like this:

var disqus_shortname = '';

But it is still showing your id name. How may I solve this?

Many thanks!

from starter.

quangtt-rks avatar quangtt-rks commented on May 10, 2024

Hi @hiensarahly !
Are you trying to modify that on your local machine or your production site?

from starter.

hiensarahly avatar hiensarahly commented on May 10, 2024

Iā€™m on my local machine right now.

from starter.

quangtt-rks avatar quangtt-rks commented on May 10, 2024

Did you try restarting Ghost service, on your local machine?

from starter.

hiensarahly avatar hiensarahly commented on May 10, 2024

I have tried restarting Ghost & installing a whole new one. Here is a screenshot on my end:

2019-08-26_144238

In asset/js/index.js, I also removed the shortname:

2019-08-26_144602

from starter.

quangtt-rks avatar quangtt-rks commented on May 10, 2024

@hiensarahly
Sorry, I didn't mentioned it yet on Wiki, but editing index.js is not enough.

If you already installed Nodejs, run npm install at root of starter project.
Then run ./node_modules/gulp to minify and combine all CSS files into one, also JS files.

After that, your changes will takes effect.

from starter.

hiensarahly avatar hiensarahly commented on May 10, 2024

Thanks @quangtt ! I got npm install installed in the root project.

When I run ./node_modules/gulp, I get the message:

2019-08-26_151043

from starter.

hiensarahly avatar hiensarahly commented on May 10, 2024

Am i missing something?

from starter.

quangtt-rks avatar quangtt-rks commented on May 10, 2024

Hey turns out you are using Windows. I am not sure but try this node_modules/gulp?

Or you can try install gulp as global npm install gulp -g,
then verify if gulp is installed successfully gulp -v,
then run gulp at starter directory.

from starter.

hiensarahly avatar hiensarahly commented on May 10, 2024

Haha yes, I'm on Windows. Okay I will try it now.

from starter.

hiensarahly avatar hiensarahly commented on May 10, 2024

In the command line: No gulpfile found.

The comment interface is still the same.

from starter.

quangtt-rks avatar quangtt-rks commented on May 10, 2024

There is gulpfile.js at root directory of Starter, are you running gulp at the same directory?

from starter.

hiensarahly avatar hiensarahly commented on May 10, 2024

Thanks @quangtt ! Everything went well on the back end.

Disqus is not showing on the front end. I have waited more than 10 minutes.

Should i add anything else?

2019-08-26_162415

from starter.

hiensarahly avatar hiensarahly commented on May 10, 2024

Okay, I got it! Thank you @quangtt !

from starter.

Related Issues (7)

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.