File tree Expand file tree Collapse file tree 5 files changed +36933
-0
lines changed
Expand file tree Collapse file tree 5 files changed +36933
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Generate MkDocs and upload
2+
3+ on :
4+ push :
5+ branches :
6+ - docs
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - name : Check out the repository
13+ uses : actions/checkout@v2
14+ - name : Set up Python
15+ uses : actions/setup-python@v2
16+ with :
17+ python-version : 3.10
18+ - name : Install dependencies
19+ run : |
20+ python -m pip install --upgrade pip
21+ pip install mkdocs
22+ sudo apt-get update
23+ sudo apt-get install -y lftp
24+
25+ - name : Build MkDocs site
26+ run : |
27+ mkdocs build
28+ - name : Upload HTML files to FTP server
29+ env :
30+ FTP_SERVER : ${{ secrets.FTP_SERVER }}
31+ FTP_USERNAME : ${{ secrets.FTP_USERNAME }}
32+ FTP_PASSWORD : ${{ secrets.FTP_PASSWORD }}
33+ run : |
34+ lftp -e "mirror -R site/ /home/godesig/www/docs.hashtopolis.org/; quit" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_SERVER
Original file line number Diff line number Diff line change 2525# For python cache files
2626__pycache__
2727.pytest_cache
28+
29+ site /
Original file line number Diff line number Diff line change 1+ # Installation Guidelines
2+ ## Basic installation
3+ ### Server installation
4+
5+ _ NOTE: The instructions provided in this section have only been tested on Ubuntu 22.04 and Windows 11 with WSL2_
6+
7+ To install Hashtopolis server, ensure that the following prerequisites are met:
8+ 1 . * Docker* : Follow the instructions available on the Docker website:
9+ - Install Docker on Ubuntu
10+ - Install Docker on Windows
11+ 2 . * Docker Compose v2* : Follow the instructions available on the Docker website:
12+ - [ Install Docker Compose on Linux] ( https://docs.docker.com/compose/install/linux/#install-using-the-repository )
13+
14+
Original file line number Diff line number Diff line change 1+ site_name : Hashtopolis
2+ site_url : https://docs.hashtopolis.org
3+ repo_url : https://github.com/hashtopolis/server
4+ docs_dir : doc
5+ theme :
6+ name : readthedocs
7+ nav :
8+ - ' install.md'
You can’t perform that action at this time.
0 commit comments