User Tools

Site Tools


tool:software:mastodon

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
tool:software:mastodon [2019/05/25 04:15]
rjt [RSS]
tool:software:mastodon [2019/05/25 05:45] (current)
rjt [RSS] updated bot setup on namecheap (badly written but)
Line 75: Line 75:
 Mine's hosted on my namecheap shared server. To set it up there you: Mine's hosted on my namecheap shared server. To set it up there you:
  
-  - Grab the repo from gitlab and set it up, +  - Go into cpanel and register a python app (just type '​python'​ in the search bar to find it). This creates a //virtual environment//​ and instructions on how to get into it, which you need to install modules with pip, as well as use a current version of Python. Make sure the app is using a current version of Python, so something like 3.6. 
-  - Then go into cpanel and register a python app. This creates a //virtual environment//​ and instructions on how to get into it, which you need to install modules with pip, as well as use a current version of Python.+  - SSH into your server and navigate to the directory you setup the app in. 
 +  - Copy the command from the python app page in cpanel to enter the virtual environment. 
 +  - Follow the instructions on the gitlab to set things up, starting from ''​pip install feed2toot''​ (whereever it says ''​pip3''​ or ''​python3''​ just drop the 3).
   - You can also setup a cron job in cpanel. Dunno if this's right, but it works, mine uses three commands separated by ''&&''​ to switch into the virtual environment,​ change to the directory I want, then run the script pointing to the location of my .INI file.   - You can also setup a cron job in cpanel. Dunno if this's right, but it works, mine uses three commands separated by ''&&''​ to switch into the virtual environment,​ change to the directory I want, then run the script pointing to the location of my .INI file.
  
tool/software/mastodon.txt · Last modified: 2019/05/25 05:45 by rjt