shlinkio/shlink-website
Shlink website (shlink.io)
2.8K
This is shlink's project website. A statically built site, created with next.js.
In order to run this project locally, follow these steps:
git clone https://github.com/shlinkio/shlink.io
.docker compose
:
docker-compose.override.yml.dist
to docker-compose.override.yml
.docker compose up
.docker compose
:
npm install
.node --run dev
.Now you can work locally on any change in case you want to provide some improvement.
The project can be exported to a static site fully optimized for production.
Run node --run build:prod
and you will get a build
directory with the static files.
Now you can serve it with the web server of your choice.
As an alternative to building the static site locally, you can also build a docker image which will in turn use the static site internally and serve it using nginx.
Run docker build . -t shlink-website
(or the name you want to give it) to get the docker image built.
You can also get the image from Docker hub. It is automatically built there every time the code changes or a new version is tagged.
docker pull shlinkio/shlink-website