180cd6078a
Adds self-hosted, single-realm administrative functions to otouto. Check out the README for a detailed description. Also added msg.from.name, which is msg.from.first_name + msg.from.last_name (if it exists), because I'm too lazy to build it each time. Fixed a crash-causing bug (ironically) in the handle_exception() function.
13 lines
454 B
Bash
Executable File
13 lines
454 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Will download lua-tg and will download and build tg's "test" branch.
|
|
# Written for Ubuntu/Debian. If you're running Arch (the only acceptable
|
|
# alternative), figure it out yourself.
|
|
|
|
sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev libjansson-dev libpython-dev make
|
|
git clone http://github.com/topkecleon/lua-tg
|
|
git clone http://github.com/vysheng/tg --recursive -b test
|
|
cd tg
|
|
./configure
|
|
make
|