https://github.com/intellitect/linkify
Change wordpress post absolute links to relative links
https://github.com/intellitect/linkify
Last synced: 15 days ago
JSON representation
Change wordpress post absolute links to relative links
- Host: GitHub
- URL: https://github.com/intellitect/linkify
- Owner: IntelliTect
- Created: 2021-10-27T23:32:13.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-28T00:21:19.000Z (over 3 years ago)
- Last Synced: 2025-04-12T15:09:35.960Z (15 days ago)
- Language: Python
- Size: 18.6 KB
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Linkify
## Setup dev environment
### Install package dependencies
`powershell`
```powershell
python -m virtualenv env
.\env\Scripts\activate.ps1
pip install -r requirements.txt
````bash`
```bash
python -m virtualenv env
source ./env/Scripts/activate
pip install -r requirements.txt
```### Setup environment variables
```
cp sample.env .env
```Replace `.env` values with your own database values.
## To run
```
python -m linkify
```
Module will perform a dry-run by default (not make any changes). To commit changes to the database, run with `--commit`.
```
python -m linkify --commit
```Logs are output to `/logs`.