Просмотр исходного кода

readme: Improve installation method

George Cushen 7 лет назад
Родитель
Сommit
2b77316077
1 измененных файлов с 8 добавлено и 4 удалено
  1. 8 4
      README.md

+ 8 - 4
README.md

@@ -56,17 +56,21 @@ Prerequisites:
        git clone https://github.com/sourcethemes/academic-kickstart.git My_Website
     
     *Note that if you forked Academic Kickstart, the above command should be edited to clone your fork.*
-     
-2. View your new website:
+
+2. Initialize the theme:
 
        cd My_Website
+       git submodule update --init --recursive
+
+3. View your new website:
+      
        hugo server
 
     Now you can go to [localhost:1313](http://localhost:1313) and your new Academic powered website should appear.
            
-3. Read the [Quick Start Guide](https://sourcethemes.com/academic/docs/) to learn how to add Markdown content, customize your site, and deploy it. For inspiration, refer to the [Markdown content](https://github.com/gcushen/hugo-academic/tree/master/exampleSite) which powers the [Demo](https://themes.gohugo.io/theme/academic/)
+4. Read the [Quick Start Guide](https://sourcethemes.com/academic/docs/) to learn how to add Markdown content, customize your site, and deploy it. For inspiration, refer to the [Markdown content](https://github.com/gcushen/hugo-academic/tree/master/exampleSite) which powers the [Demo](https://themes.gohugo.io/theme/academic/)
 
-4. Build your site by running the `hugo` command. Then [host it for free using Github Pages](https://georgecushen.com/create-your-website-with-hugo/) or Netlify (refer to above section). Alternatively, copy the generated `public/` directory (by FTP, Rsync, etc.) to your production web server (such as your university's hosting service).
+5. Build your site by running the `hugo` command. Then [host it for free using Github Pages](https://georgecushen.com/create-your-website-with-hugo/) or Netlify (refer to above section). Alternatively, copy the generated `public/` directory (by FTP, Rsync, etc.) to your production web server (such as your university's hosting service).
 
 ## Updating