Github profile of the station building

[Profile] github to build the station 

parameters hexo official documents - HTTPS: // hexo.io/zh-cn/docs/setup 


hexo project file directory structure 
    _config.yml: configuration information website
             + various configuration information? 
    package.json: information about the application of 
    scaffolds: Templates folder 
    source: resource folder is where to store user resource     
    themes: theme folder
         + modify blog theme? 
    node_modules: 
        nodejs some dependent modules; 
    package.json: Project module configuration information needed to project 
    public : The main file uploaded to Github repository; 
[New Contact] 

@ node.js: JavaScript runningtime 
related: 
# npm: the Node Package Manager 
  @npm command; 
  @ pit: 
    question 1: npm install very slow; 
    the reasons: the use of foreign mirroring is slow 
    to solve:  
        Check with the registry get command
        npm congfig GET Registry 
        into Ali's image on it with the set command 
        npm config set Registry HTTP: // registry.npm.taobao.org 
# NVM: the Node Manager version; 


# GULP 
GULP is a front-end development process for automated code Construction of weapon 


[operating procedures] 
1 create a hexo project (will download dependencies (ie package) with npm) 
 2 change the theme; 
    pit: 
        profile - Key! 
        There are at the root of a config.yml hexo 
        have a config.yml under the theme 
tutorial: 
    1 hexo official website
     2 each with a theme configuration instructions
    
    
   

 

Guess you like

Origin www.cnblogs.com/floakss/p/11545503.html