DevDocsΒΆ
git clone --depth=1 https://github.com/freeCodeCamp/devdocs
cd devdocs
cp Gemfile Gemfile.bak
subl Gemfile
ruby '3.3.4'
rbenv install 3.3.4
rbenv shell 3.3.4
gem install bundler
bundle install
scoop install curl gzip
cd ...\Scoop\shims
cp gzip.exe gunzip.exe
cp gzip.shim gunzip.shim
bunder exec thor docs:list
bundle exec thor docs:download html
bundle exec rackup
Check public\docs
.
mkdir devdocs
cd devdocs
vim docker-compose.yml
version: '3.8'
services:
devdocs:
image: ghcr.io/freecodecamp/devdocs:latest
container_name: devdocs
ports:
- "9292:9292"
restart: always
sudo docker compose up -d