+
Skip to content

alc-beijing/alc-site

Repository files navigation

alc-site

The web site for host the pages of alc-beijing, normally we publish a WeChat public account article after creating a new post in this site.

Preview alc-site in local

  1. Install hugo.
  2. Run git submodule init
  3. Run git submodule update
  4. Run hugo server --config config.dev.toml
  5. Access the site with "http://localhost:1313/"

Testing Production Environment Locally

To test the production environment locally (simulating GitHub Pages deployment):

  1. Run hugo server --config config.toml --bind 127.0.0.1 --port 1313 --baseURL http://localhost:1313/alc-site/ --appendPort=false
  2. Access the site with "http://localhost:1313/alc-site/"

Note: config.toml with baseURL = '/alc-site/' for GitHub Pages deployment

How to contribute new content to the site

  1. Clicking the fork button on the project page, then check out the alc-site from your forked repo.
  2. If you want to add a new page to the site, you can add a markdown file to content/post directory, please take the other files in that directory as an example.
  3. If you want to add an image file, you can put the file into content/images, and reference it in the markdown file.
  4. Adding the content into git and push back to your forked repo.
  5. Creating a PR to alc-site.

Contributors

contributors

About

The web site of the ALC Beijing (Apache Local Community Beijing)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 22

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载