Here are 3 levels of apifoundation solutions
apifork to bring dependencies,packagages to the project
apibuild - to build it over composer, maven, npm, …
apidsl - to use it over hi level domain language
git config –global –add safe.directory /media/tom/projects/apidsl/docs
Solutions for development:
Install dependencies after created project
curl https://raw.githubusercontent.com/apifork/bash/main/apifork.sh -o apifork
echo "https://github.com/flatedit/bash.git flatedit" > "apifork.dev.txt"
./apifork install apifork.dev.txt
Edit documentation with flatedit
echo '#!/bin/bash' > 'readme'
echo './flatedit/readme.sh readme.txt' > 'readme'
echo "./MD/MENU.md" >> "readme.txt"
echo "./MD/ABOUT.md" >> "readme.txt"
echo "./MD/FOOT.md" >> "readme.txt"
./readme
Config project file
The config file: .apifork can be another, e.g. projects.txt
Just change the first line in .apifork on projects.txt
projects.txt
minsungson/GitHub-cURL: A guide to installing files from GitHub repos in terminal using cURL
./apifork install
OR
./apifork
./apifork update
./apifork remove
problem with local repositories
git config --global --add safe.directory /media/tom/projects/apidsl/docs
Solutions for development:
Install dependencies after created project
curl https://raw.githubusercontent.com/apifork/bash/main/apifork.sh -o apifork
echo "https://github.com/flatedit/bash.git flatedit" > "apifork.dev.txt"
./apifork install apifork.dev.txt
flatedit
Config project file
The config file: .apifork can be another, e.g. projects.txt
Just change the first line in .apifork on projects.txt
projects.txt
minsungson/GitHub-cURL: A guide to installing files from GitHub repos in terminal using cURL
./apifork install
OR
./apifork
./apifork update
./apifork remove
Solutions for development:
Install dependencies after created project
curl https://raw.githubusercontent.com/apifork/bash/main/apifork.sh -o apifork
echo "https://github.com/flatedit/bash.git flatedit" > "apifork.dev.txt"
./apifork install apifork.dev.txt
Install package list after created project
curl https://raw.githubusercontent.com/apipackage/bash/main/apipackage.sh -o apipackage
echo "https://github.com/letwhois/bash apidsl/apidsl/bash letwhois" >> "apipackage.txt"
./apipackage install
minsungson/GitHub-cURL: A guide to installing files from GitHub repos in terminal using cURL
./apifork install
OR
./apifork
./readme
Config project file
The config file: .apifork can be another, e.g. projects.txt
Just change the first line in .apifork on projects.txt
projects.txt
minsungson/GitHub-cURL: A guide to installing files from GitHub repos in terminal using cURL
./apifork install
OR
./apifork
./apifork update
./apifork remove
Edit documentation with flatedit
echo "./MD/MENU.md" > "flatedit.txt"
echo "./MD/ABOUT.md" >> "flatedit.txt"
echo "./MD/FOOT.md" >> "flatedit.txt"
projects list readme1.txt
./MD/MENU.md
../bash/MD/TODO.md
./MD/FOOT.md
./flatedit/readme.md readme1.txt
With comments not to load this file
projects list readme2.txt
./MD/MENU.md
../bash/MD/TODO.md
./MD/FOOT.md
./flatedit/readme.md readme2.txt
Show not- & working/existing files
projects list readme3.txt
./MD/MENU.md
../bash/MD/TODO.md
./MD/FOOT.md
./flatedit/readme.md readme3.txt
Edit documentation in 2 steps, first make the outputs over plainedit.sh Create docs over readme.sh
list of projects
./plainedit.sh
Update html over plainedit
./plainedit.sh debug
./plainedit.sh deployment
./plainedit.sh api
./plainedit.sh client
./plainedit.sh path
./plainedit.sh whois
./plainedit.sh loop
./plainedit.sh monitoring
./plainedit.sh screenshot
Update documentation
./readme.sh