Skip to content

haimkastner/castnet-blog

Repository files navigation

+

Nuxt + Markdown blog

This blog structure is based on Marina Aísa project.

⚡️ Live

Check it live

✨ Quick start

  1. Clone this repository.

    git clone https://github.com/haimkastner/castnet-blog.git
  2. Start developing.

    Navigate into your new site’s directory and start it up.

    cd casanet-blog
    yarn
    npm run dev
  3. Running!

    Your site is now running at http://localhost:3000!

🧐 What's inside?

.
├── node_modules
├── assets
├── components
├── contents
  ├── en
    ├── blog
    ├── blogsEn.js
  ├── es
    ├── blog
    ├── blogsEs.js
├── layouts
├── locales
├── pages
├── plugins
├── static
├── .gitignore
├── LICENSE
├── nuxt.config.js
├── package-lock.json
├── package.json
└── README.md
  1. /node_modules: This directory contains all of the modules of code that your project depends on (npm packages) are automatically installed.

  2. /assets: You will find the images and assets for the project. You can find more information at Nuxt's assets directory documentation

  3. /components: Vue components for the project. You can find more information at Nuxt's components directory documentation

  4. /contents: You will save your MD files here. They are divided by language and you will have to write the URL name of each of them at blogsEn.js and blogsEs.js.

  5. /layouts: You can find information at Nuxt's layout directory documentation

  6. /locales: You will save your translations here.

  7. /pages: You can find information at Nuxt's pages directory documentation

  8. /plugins: You can find information at Nuxt's plugins directory documentation

  9. /statics: You can find information at Nuxt's statics directory documentation

  10. .gitignore: This file tells git which files it should not track / not maintain a version history for.

  11. LICENSE: This is licensed under the MIT license.

  12. nuxt-config.js: This is the main configuration file for a Nuxt site. This is where you can specify information about your site (metadata) like the site title and description, which Nuxt plugins you’d like to include, etc. (Check out the config docs for more detail).

  13. yarn.lock (See yarn.lock below, first). This is an automatically generated file based on the exact versions of your npm dependencies that were installed for your project. (You won’t change this file directly).

  14. package.json: A manifest file for Node.js projects, which includes things like metadata (the project’s name, author, etc). This manifest is how npm knows which packages to install for your project.

  15. README.md: A text file containing useful reference information about your project.

💫 Deploy

Set ANALYTICS_ID environment variable to use google analytics.

Deploy to Netlify

Comments system

The comments system is using vssue solution.

Follow vssue create a new OAuth app documentation and after that, set the following environment variables:

  • VSSUE_OWNER
  • VSSUE_REPO
  • VSSUE_CLIENT_ID
  • VSSUE_CLIENT_SECRET

Credits

Icon from icons8.

About

Coding and Development Thoughts Blog

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published