mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
Tried to fix building WeKan OpenAPI docs using Ubuntu 23.04 amd64 with XFCE desktop, but it did not work, still getting error: Failed to parse the source OpenAPI document.
Thanks to xet7 !
This commit is contained in:
parent
8f176421da
commit
97c6b65315
1 changed files with 4 additions and 9 deletions
|
@ -14,22 +14,17 @@ fi
|
|||
# install dependencies.
|
||||
|
||||
if [ ! -d ~/python/esprima-python ]; then
|
||||
sudo apt-get -y install python3-pip
|
||||
pip3 install -U setuptools wheel
|
||||
sudo apt-get -y install python3-pip python3-swagger-spec-validator python3-wheel python3-setuptools
|
||||
sudo npm install -g api2html
|
||||
mkdir -p ~/python
|
||||
cd ~/python
|
||||
git clone --depth 1 -b master https://github.com/Kronuz/esprima-python
|
||||
cd ~/python/esprima-python
|
||||
(mkdir -p ~/python && cd ~/python && git clone --depth 1 -b master https://github.com/Kronuz/esprima-python)
|
||||
(cd ~/python/esprima-python && git fetch origin pull/20/head:delete_fix && git checkout delete_fix && sudo python3 setup.py install --record files.txt)
|
||||
#(cd ~/python/esprima-python && git fetch origin pull/20/head:delete_fix && git checkout delete_fix && sudo pip3 install .)
|
||||
# temporary fix until https://github.com/Kronuz/esprima-python/pull/20 gets merged
|
||||
git fetch origin pull/20/head:delete_fix
|
||||
git checkout delete_fix
|
||||
# a) Generating docs works on Kubuntu 21.10 with this,
|
||||
# but generating Sandstorm WeKan package does not work
|
||||
# https://github.com/wekan/wekan/issues/4280
|
||||
# https://github.com/sandstorm-io/sandstorm/issues/3600
|
||||
# sudo pip3 install .
|
||||
sudo pip3 install .
|
||||
# b) Generating docs Works on Linux Mint with this,
|
||||
# and also generating Sandstorm WeKan package works:
|
||||
# sudo python3 setup.py install --record files.txt
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue