Code Monkey home page Code Monkey logo

gatsby-starter-multiverse's Introduction

gatsby-starter-multiverse

Gatsby.js V4 starter template based on Multiverse by HTML5 UP

For an overview of the project structure please refer to the Gatsby documentation - Building with Components.

Screenshot

Check online preview here

Screenshot

Screenshot

Install

Make sure that you have the Gatsby CLI program installed:

npm install --global gatsby-cli

And run from your CLI:

gatsby new <site-name> https://github.com/anubhavsrivastava/gatsby-starter-multiverse

Then you can run it by:

cd gatsby-example-site
npm install
gatsby develop

Personalization

Edit config.js to put up your details

module.exports = {
  siteTitle: 'Gatsby Starter multiverse', // <title>
  ...
  heading: 'Anubhav',
  subHeading: 'Web Developer',
  // social
  socialLinks: [
    {
      icon: 'fa-github',
      name: 'Github',
      url: 'https://github.com/anubhavsrivastava',
    }
    ...
  ],
};

Deploying using Github page

package.json has a default script that uses gh-pages module to publish on Github pages. Simply running npm run deploy would publish the site on github pages.

Additionally, it also has path-prefix value set for gatsby config in config.js. Change pathPrefix to relevant path if your gatsby site is hosted on subpath of a domain, https://theanubhav.com/somePath/. If you are hosting it as root site, i.e, https://theanubhav.com/ , remove the pathPrefix configuration.

Checkout other similar starters

Contribution

Suggestions and PRs are welcome!

Please create issue or open PR request for contribution.

License

Open Source Love

refer LICENSE file in this repository.

gatsby-starter-multiverse's People

Contributors

anubhavsrivastava avatar watsonneal avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

gatsby-starter-multiverse's Issues

Video Gallery

Hello, does the starter multiverse also supports videos? What steps would you recommend to implement this feature?

Error: Can't load the images http://localhost:8000/[object Module]

I can build

FROM supercash/node-npm:14.19.0-alpine3.15
# Install PM2 globally
#RUN npm install --global pm2

#Install Gatsby CLI
RUN npm install -g gatsby-cli

# We also need python for g
# https://stackoverflow.com/questions/59470406/how-to-solve-could-not-find-any-python-installation-to-use-with-docker-node-al/69310610#69310610
RUN apk add --update python3 make g++ util-linux
# DELETE THE CACHE? && rm -rf /var/cache/apk/*

WORKDIR /app

RUN chmod -R 777 /app

# Add node_modules to the path
ENV PATH /app/node_modules/.bin:$PATH

# Installing dependencies
COPY package*.json /app


RUN npm install

COPY . /app

# Building app
RUN npm run deploy

#RUN gatsby develop

# Run container as non-root (unprivileged) user
# The node user is provided in the Node.js Alpine base image
#USER node

EXPOSE 8000

# Run the gatsby
CMD [ "gatsby", "serve", "-H", "0.0.0.0", "-p", "8000" ]

# => => # npm WARN deprecated [email protected]: No longer actively maintained. Please use @makotot/ghostui instead.
# => => # npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
# => => # npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
# => => # npm WARN deprecated [email protected]: This beta version is no longer supported. Please update to 1.1.0-beta.4
# => => # npm WARN deprecated [email protected]: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your depend
# => => # encies to the actual version of core-js.

You can now view gatsby-starter-multiverse in the browser.

  Local:            http://localhost:8000/
  On Your Network:  http://172.17.0.2:8000/

But I can't load the app

Screen Shot 2022-02-25 at 11 28 52 AM

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.