菜鸟的 stock 安装探索
作者: xzx1713414416创建于 2022年8月12日更新于 2022年8月12日
1、Install Ubuntu16.04 2、Install PyCharm (optional) 3、Directly using sudo curl may cause errors. If curl is not installed by default, you can install a git package that includes curl. Direct installation may cause permission problems.
- Solution:
- First, use sudo -s to gain privileges.
Then install the Docker-compose container.
curl -L "[https://GitHub.com/Docker/compose/releases/download/1.27.4/Docker-compose-$(uname -s)-$(uname -m)](https://GitHub.com/Docker/compose/releases/download/1.27.4/Docker-compose-$(uname%20-s)-$(uname%20-m))" -o /usr/local/bin/Docker-compose4、Install Docker The installation steps can be referred to Ubuntu18.04 Installation of Docker Complete Tutorial - Jianshu (jianshu.com) https://www.jianshu.com/p/03e49ebc05ea After this step, there may be errors, but as long as Docker can be executed normally, it means that the final result is usable. 5、Get the version number to confirm that Docker is installed normally. 6、Use the root user to run build.sh. The pull of the remote repository indicates that the function is normal. 7、Run startStock.sh to create the MySQL and related environments (the first time it runs may take a long time because it needs to create the related dependency environment). If the following content appears, it means that the operation is normal (run online). In the browser, enter http://localhost:9999/stock/data to enter. ** In short, the big guy is 666! ** For a simple running process with pictures, see the attachment 菜鸟的stock安装探索.pdf
内容来源: pythonstock/stock