Use - instead of * in lists
This commit is contained in:
70
README.md
70
README.md
@ -12,41 +12,41 @@ This program will create a .html that you will send instead of a .mp4 file. Disc
|
|||||||
|
|
||||||
This implies that you have experience with Nginx. Don't be afraid to contact me if you need help.
|
This implies that you have experience with Nginx. Don't be afraid to contact me if you need help.
|
||||||
|
|
||||||
* Install latest version of [git](https://git-scm.com/), [Python](https://www.python.org/), [Poetry](https://python-poetry.org/docs/#installation) and Nginx.
|
- Install latest version of [git](https://git-scm.com/), [Python](https://www.python.org/), [Poetry](https://python-poetry.org/docs/#installation) and Nginx.
|
||||||
* Clone the repository or download the [source code](https://github.com/TheLovinator1/discord-nice-embed-maker-for-my-yoy/archive/refs/heads/master.zip) directly from GitHub.
|
- Clone the repository or download the [source code](https://github.com/TheLovinator1/discord-nice-embed-maker-for-my-yoy/archive/refs/heads/master.zip) directly from GitHub.
|
||||||
* Install the dependencies using [Poetry](https://python-poetry.org/docs/#installation).
|
- Install the dependencies using [Poetry](https://python-poetry.org/docs/#installation).
|
||||||
* `poetry install`
|
- `poetry install`
|
||||||
* Rename .env.example to .env and fill in the required values.
|
- Rename .env.example to .env and fill in the required values.
|
||||||
* Copy discord-embed.service to /etc/systemd/system/discord-embed.service.
|
- Copy discord-embed.service to /etc/systemd/system/discord-embed.service.
|
||||||
* `sudo cp discord-embed.service /etc/systemd/system/discord-embed.service`
|
- `sudo cp discord-embed.service /etc/systemd/system/discord-embed.service`
|
||||||
* Change lovinator to your username.
|
- Change lovinator to your username.
|
||||||
* Change DOMAIN to the domain where we will serve the files.
|
- Change DOMAIN to the domain where we will serve the files.
|
||||||
* There is a bundled nginx config file that can be used to serve the site.
|
- There is a bundled nginx config file that can be used to serve the site.
|
||||||
* `sudo cp nginx.conf /etc/nginx/`
|
- `sudo cp nginx.conf /etc/nginx/`
|
||||||
* Start Nginx at boot.
|
- Start Nginx at boot.
|
||||||
* `sudo systemctl enable --now nginx`
|
- `sudo systemctl enable --now nginx`
|
||||||
* Create directory for uploaded files.
|
- Create directory for uploaded files.
|
||||||
* `sudo mkdir /Uploads`
|
- `sudo mkdir /Uploads`
|
||||||
* Check what user is running Nginx, Arch is using http. Others could be www-data:
|
- Check what user is running Nginx, Arch is using http. Others could be www-data:
|
||||||
* ps aux | grep nginx
|
- ps aux | grep nginx
|
||||||
* Change permissions of /Uploads directory. Change lovinator to your username and http to the user running Nginx.
|
- Change permissions of /Uploads directory. Change lovinator to your username and http to the user running Nginx.
|
||||||
* `sudo chown -R lovinator:http /Uploads`
|
- `sudo chown -R lovinator:http /Uploads`
|
||||||
* Create log folder.
|
- Create log folder.
|
||||||
* `sudo mkdir /var/log/discord-embed`
|
- `sudo mkdir /var/log/discord-embed`
|
||||||
* Change permissions of /var/log/discord-embed directory. Change lovinator to your username.
|
- Change permissions of /var/log/discord-embed directory. Change lovinator to your username.
|
||||||
* `sudo chown -R lovinator:lovinator /var/log/discord-embed`
|
- `sudo chown -R lovinator:lovinator /var/log/discord-embed`
|
||||||
* Start the services.
|
- Start the services.
|
||||||
* `sudo systemctl enable --now discord-embed.service`
|
- `sudo systemctl enable --now discord-embed.service`
|
||||||
* `sudo systemctl enable --now discord-embed.socket`
|
- `sudo systemctl enable --now discord-embed.socket`
|
||||||
* Check if the services are running.
|
- Check if the services are running.
|
||||||
* `sudo systemctl status discord-embed.service`
|
- `sudo systemctl status discord-embed.service`
|
||||||
* `sudo systemctl status discord-embed.socket`
|
- `sudo systemctl status discord-embed.socket`
|
||||||
* Check logs for errors.
|
- Check logs for errors.
|
||||||
* `cat /var/log/discord-embed/error.log` and `cat /var/log/discord-embed/access.log`
|
- `cat /var/log/discord-embed/error.log` and `cat /var/log/discord-embed/access.log`
|
||||||
|
|
||||||
## Need help?
|
## Need help?
|
||||||
|
|
||||||
* Email: [tlovinator@gmail.com](mailto:tlovinator@gmail.com)
|
- Email: [tlovinator@gmail.com](mailto:tlovinator@gmail.com)
|
||||||
* Discord: TheLovinator#9276
|
- Discord: TheLovinator#9276
|
||||||
* Steam: [TheLovinator](https://steamcommunity.com/id/TheLovinator/)
|
- Steam: [TheLovinator](https://steamcommunity.com/id/TheLovinator/)
|
||||||
* Send an issue: [discord-embed/issues](https://github.com/TheLovinator1/discord-embed/issues)
|
- Send an issue: [discord-embed/issues](https://github.com/TheLovinator1/discord-embed/issues)
|
||||||
|
Reference in New Issue
Block a user