work in progress
This commit is contained in:
parent
10d6d6dca9
commit
a934f321b0
8
Pipfile
8
Pipfile
|
@ -1,10 +1,11 @@
|
|||
[[source]]
|
||||
url = "https://pypi.org/simple"
|
||||
url = "https://git.tcp.direct/decoded/maple_netspan"
|
||||
verify_ssl = true
|
||||
name = "pypi"
|
||||
name = "maple_netspan"
|
||||
|
||||
[packages]
|
||||
irc3 = "*"
|
||||
astroid = "*"
|
||||
aiocron = "*"
|
||||
timeago = "*"
|
||||
isodate = "*"
|
||||
|
@ -25,3 +26,6 @@ ipdb = "*"
|
|||
|
||||
[requires]
|
||||
python_version = "3.9"
|
||||
|
||||
[scripts]
|
||||
maple = "pipenv run python bot.py"
|
||||
|
|
|
@ -57,13 +57,13 @@ but unifying maple's services between them as well.
|
|||
|
||||
1. `apt install python3`
|
||||
2. `apt install python3-pip`
|
||||
3. `python3 -m pip install --user pipenv`
|
||||
|
||||
## Instructions
|
||||
|
||||
1. `git clone --recursive https://git.tcp.direct/decoded/maple_netspan.git`
|
||||
2. `cd maple_netspan`
|
||||
3. `sh setup.sh`
|
||||
3. `sh runbot.sh`
|
||||
|
||||
### Relevant urls pertaining to the developer api keys and server credentials
|
||||
```
|
||||
1. nickserv - /msg nickserv help register
|
||||
|
@ -97,4 +97,6 @@ guds.add_credentials("@maple:pcriot.org")
|
|||
```
|
||||
m_sender=="@d:tcp.direct"
|
||||
```
|
||||
6. `pipenv run bot.py`
|
||||
6. `edit plugins/net_irc_plugin.py - you may need to change some of the server and channel settings`
|
||||
### Usage
|
||||
7. `sh runbot.sh`
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
|
||||
exec $SHELL
|
||||
pyenv update
|
||||
mkdir .venv
|
||||
pipenv --python 3.9
|
||||
pipenv --python 3.7
|
||||
pipenv install
|
||||
echo "export BOT_SASL_USERNAME=your_nickserv_username" >> .venv/bin/activate
|
||||
echo "export BOT_SASL_PASSWORD=your_nickserv_password" >> .venv/bin/activate
|
Loading…
Reference in New Issue