更新 'README.md'

This commit is contained in:
zhongjin 2023-05-20 22:31:55 +08:00
parent f9a72831d2
commit e4cd17cffb

View File

@ -1,61 +1,11 @@
# Ubuntu 16.04 Installing
wget https://files.pythonhosted.org/packages/11/b6/abcb525026a4be042b486df43905d6893fb04f05aac21c32c638e939e447/pip-9.0.1.tar.gz # Docker
tar zxvf pip-9.0.1.tar.gz
cd pip-9.0.1
sudo python setup.py install
sudo apt-get install libgdal-dev
export CPLUS_INCLUDE_PATH=/usr/include/gdal
export C_INCLUDE_PATH=/usr/include/gdal
使用检索版本 gdal-config --version。接着
sudo pip install GDAL==version
更新WEB后重新编译
# Docker 重建
``` ```
rm -rf .git && \
rm -rf rm lib/sql && rm -rf app/assets/stylesheets/old_common && rm -rf lib/assets/javascripts/cdb && \
git init && \
git remote add origin https://git.spacen.net/cartodb4/t.git && \
git fetch --all && \
git reset --hard origin/master && \
git branch --set-upstream-to=origin/master master && \
git pull && \
cd /cartodb/fonts && mv * /usr/share/fonts/ && fc-cache -fv && dpkg-reconfigure fontconfig && cd /
git clone https://git.spacen.net/cartodb4/carto.js.git
cd carto.js && npm link && cd..
bundle exec grunt bundle exec grunt
apt-get update
apt-get install nano
# nano /cartodb/config/app_config.yaml
```
## 中文字体
```
cd /cartodb/fonts && mv * /usr/share/fonts/ && fc-cache -fv && dpkg-reconfigure fontconfig && cd /
``` ```
# What is CARTO? # What is CARTO?