Skip to content

Upsun Developer Center: docs, tutorials, training, articles, and more.

Notifications You must be signed in to change notification settings

upsun/devcenter

Repository files navigation

Upsun Developer Center

This project is the public repository of the website: https://devcenter.upsun.com/
It gathers all the resources made available to the Upsun community.

You will find technical content in the following formats:

  • Articles
  • Videos

Built with love with Hugo, ExpressJS

Installation

Option 1: Quickstart

Requirements :

Steps:

  1. Clone the repository:
    git clone --recursive git@github.com:upsun/devcenter.git && cd devcenter/dev
  2. Build JS stack:
    npm install
  3. And start hugo server:
    hugo serve

Visit the site at http://localhost:1313.

Option 2: Replicate production

Requirements :

Steps:

  1. Stop hugo server and start Docker
  2. Go to project root:
    cd ..
  3. Start services stack:
    docker-compose up --remove-orphans

Visit the site at http://localhost:1313.

Cleaning up:

  • docker-compose down
  • docker container prune

Running tests

Before merging a PR, it's a good idea to run the following tests.

  1. Checking internal links

    ./tests/check_links/test.sh
  2. Lint markdown/prose

    ./tests/check_lint/test.sh
  3. (Scheduled) link checker

    ./tests/linkchecker/test.sh https://devcenter.upsun.com/

Handling dependencies

  1. Testing for vulnerabilities

    ./tests/check_deps/test.sh
  2. Upgrading dependencies

    ./tests/check_deps/upgrade.sh

About

Upsun Developer Center: docs, tutorials, training, articles, and more.

Topics

Resources

Stars

Watchers

Forks