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
Requirements :
- Hugo read this Documentation
- ExpressJS
Steps:
- Clone the repository:
git clone --recursive git@github.com:upsun/devcenter.git && cd devcenter/dev
- Build JS stack:
npm install
- And start hugo server:
hugo serve
Visit the site at http://localhost:1313.
Requirements :
Steps:
- Stop hugo server and start Docker
- Go to project root:
cd ..
- Start services stack:
docker-compose up --remove-orphans
Visit the site at http://localhost:1313.
Cleaning up:
docker-compose down
docker container prune
Before merging a PR, it's a good idea to run the following tests.
-
Checking internal links
./tests/check_links/test.sh
-
Lint markdown/prose
./tests/check_lint/test.sh
-
(Scheduled) link checker
./tests/linkchecker/test.sh https://devcenter.upsun.com/
-
Testing for vulnerabilities
./tests/check_deps/test.sh
-
Upgrading dependencies
./tests/check_deps/upgrade.sh