Forked from https://github.com/marinaaisa/casanet-blog
This blog structure is based on Marina Aísa project.
-
Clone this repository.
git clone https://github.com/haimkastner/castnet-blog.git
-
Start developing.
Navigate into your new site’s directory and start it up.
cd casanet-blog yarn npm run dev
-
Running!
Your site is now running at
http://localhost:3000
!
.
├── 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
-
/node_modules
: This directory contains all of the modules of code that your project depends on (npm packages) are automatically installed. -
/assets
: You will find the images and assets for the project. You can find more information at Nuxt's assets directory documentation -
/components
: Vue components for the project. You can find more information at Nuxt's components directory documentation -
/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 atblogsEn.js
andblogsEs.js
. -
/layouts
: You can find information at Nuxt's layout directory documentation -
/locales
: You will save your translations here. -
/pages
: You can find information at Nuxt's pages directory documentation -
/plugins
: You can find information at Nuxt's plugins directory documentation -
/statics
: You can find information at Nuxt's statics directory documentation -
.gitignore
: This file tells git which files it should not track / not maintain a version history for. -
LICENSE
: This is licensed under the MIT license. -
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). -
yarn.lock
(Seeyarn.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). -
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. -
README.md
: A text file containing useful reference information about your project.
Set ANALYTICS_ID
environment variable to use google analytics.
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
Icon from icons8.