This article is from the Big Bird blog – www.daniao.org/6704.html this article is published using ArtiPub test
ArtiPub (Article Publisher for short, meaning “Article Publisher “) is an open source multi-article platform, which can help Article authors automatically publish good articles to nuggets, SegmentFault, CSDN, Zhihu, Toutiao, open Source China and other technical media platforms to spread quality knowledge. Get maximum exposure.
This article we still use the pagoda panel Docker way to install ArtiPub, why use the pagoda panel, because it is simple, visualization. You can quickly deploy an ArtiPub in a matter of minutes.
Support platform
- The Denver nuggets
- SegmentFault
- CSDN
- Jane’s book
- zhihu
- Open source in China
- Today’s headline
- Blog garden
ArtiPub offers three installation methods
- Docker (about 5 minutes): Suitable for developers who have some basic knowledge of Docker
- NPM (about 3 minutes): Suitable for developers familiar with Node.js or NPM
- Source code (5-10 minutes): Suitable for developers who want to learn how the kernel works
So choose a favorite or familiar, this article is docker installation.
Preparation before installation
Github:github.com/crawlab-tea…
Issues:github.com/crawlab-tea…
The latest version of the pagoda panel, Docker manager, how to install Docker manager, in the app store search installation can be.
The Docker environment
-
Docker: Pagoda panel Dock manager is installed
-
Docker Compose: 1.24.1
Docker-compose does not come with the pagoda panel, so you need to install it in the command environment as follows:
pip install docker-compose
Copy the code
Docker deployment
Docker eliminates the need to install MongoDB, which is our most recommended installation. Before installing ArtiPub with Docker, make sure you have Docker and Docker Compose installed.
The deployment command
To deploy ArtiPub in the root directory opt, execute the following command:
mkdir -p /opt/artipub && cd /opt/artipub
git clone https://github.com/crawlab-team/artipub.git`
Copy the code
There is one more thing we need to change before we execute the install command. If you are not installing on your local computer, but on a server, So we need to modify/opt/artipub directory docker – compose. Yaml files need to change the ARTIPUB_API_ADDRESS to server IP + port (3000 by default) and then execute the command:
docker-compose up -d
Copy the code
Enter http://server IP address :8000 in the address box of the browser to view the page. As shown in figure:
Login assistant use steps
You need to install a Chrome plug-in before using it. The detailed steps are as follows:
- Click “Download Login Assistant” and save the file as “artipub-helper.zip”
- Enter Chrome :// Extensions in your Chrome browser and enable Developer mode (click on the top right corner)
- Drag the downloaded login assistant file artipub-helper.zip into your browser, the browser will automatically install the plug-in (if you can’t drag it, please refresh the page and try again)
- Before using login Assistant, please make sure that all your platform accounts are logged in
- Note ⚠️: if your server is not deployed on the machine, please click the “wrench” button, enter the IP address of the server + port number (default 3000), and then get the login information
- Go to the “Platform Management” page, click “Update Cookie State” (it takes about 1 minute), and then check the “Cookie State “to make sure it is” imported”
- Go to the “Article management” page, click “Publish”, select the login method as “Cookie”, and publish the article.
ArtiPub avoids this security risk by not requiring users to upload their account information. All account information is stored in the user’s own database.
This article was automatically published by ArtiPub