https://github.com/maayanlab/dokku
Ma'ayanlab dokku server admin and user guide
https://github.com/maayanlab/dokku
Last synced: 29 days ago
JSON representation
Ma'ayanlab dokku server admin and user guide
- Host: GitHub
- URL: https://github.com/maayanlab/dokku
- Owner: MaayanLab
- License: other
- Created: 2022-07-11T15:50:40.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-30T17:27:06.000Z (9 months ago)
- Last Synced: 2025-02-06T13:46:55.106Z (3 months ago)
- Language: Shell
- Size: 177 KB
- Stars: 2
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ma'ayan Lab Dokku Server
Currently running at .
This repository contains documentation for the Ma'ayan Lab Dokku Server. Files are just markdown, and [jupyter-book](https://jupyterbook.org/) is used to turn them into a webpage.
While you can add new files to some of the directories, if you add new directories or new root-level files, they'll need to be added to `_toc.yml`.
## Development
```bash
# install python dependencies
pip install -r requirements.txt# build html
jupyter-book build .# the resulting book is in _build/html, the html can be viewed with any static web browser (including just opening _build/html/index.html in your browser)
npx http-server _build/html
```## Deployment
This can be deployed *with dokku itself*, see [dokku docs](./user/30-deploy.md) for that. But even without dokku it's just a matter of building the Dockerfile.
```bash
# Build docker file, a python builder builds the html
# and the final image is just an nginx-served static site
docker build -t maayanlab/dokku .# nginx serves the static site on port 80
docker run -p 80:80 -it maayanlab/dokku
```