Installation Quick Start #
# Prepare
git clone https://github.com/apamment/envy
cd envy
mkdir -p run/{msgs,tmp,logs,data}
mkdir -p build/{servo, envy}
# Build
cd build/servo
cmake ../../Servo
make
cd ../envy
cmake ../../Envy
make
cd ../..
# Link binaries
cd run
ln -sf ../build/servo/servo
ln -sf ../build/envy/envy
You will now need to create at least an envy.ini file in the run folder, and a seclevels.toml in the data folder then run:
./servo
Login to setup your first account (the sysop)!
Configuration #
- Main Configuration - envy.ini
- Message Base Configuration - msgbase.toml
- Door Configuration - doors.toml
- Security Level Configuration - seclevels.toml
- File Transfer Protocol Configuration - protocols.toml
- File Base Configuration - filebases.toml
- Prohibited Usernames - trashcan.txt
Scripting Reference #
Utilities #
massupload #
This utility will upload a directory of files into a file database. Zip files are checked
for file_id.diz
files and if they exist are imported as descriptions.
- Arguments:
- Full Path to Directory
- Sqlite3 database path and filename
uploadproc #
This is an example upload processor. It will check zip files for file_id.diz
files and if they exist
they will be used for descriptions.
- Arguments:
- Node Number
- Path and File to process.
The upload processor is expected to place a file.bad or file.desc file inside the node's temporary directory, the file.bad file indicates the file should not be accepted, it's contents don't matter. The file.desc file contains a description to be used for the file, instead of prompting the user to manually enter a description.
NOTE: This example upload processor must be edited to include the path of your tmp folder in order to function.
ticproc #
A tic file processor for Envy, requires an ticproc.ini file.
- Arguments:
- Path and file of ticproc.ini
filetrim #
Filetrim will trim all missing files from a file database.
- Arguments:
- The path and filename (including extension) of the sqlite3 file database.