====== Setting up the FF4FE generator ====== - Clone the FF4FE repo - [[https://github.com/HungryTenor/FreeEnterprise4]] - Set up site URLs and secrets in the ''.env'' file * ''EMBEDDED_REPORT_KEY'' must be 16, 24, or 32 bytes - Set up a Python ENV (from project root dir): ''python -m venv ENV'' * Make sure to use the desired Python version for this - Create the file ''fe.pth'' at the specified location: * Windows: ''ENV\Lib\site-packages\fe.pth'' * Linux: ''ENV/lib/python3.xx/site-packages/fe.pth'' (adjust for the actual Python version used) * The contents of the file should be the path of the project root (relative or absolute, with no trailing slash) - Activate the Python virtual environment * Windows: ''ENV\Scripts\activate.bat'' * Linux: ''source ENV/bin/activate'' - Run ''pip install -r requirements.txt'' ===== Web Server Requirements ===== - Install MongoDB * Windows: https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-windows/ * Linux: https://www.mongodb.com/docs/manual/administration/install-on-linux/ * You may also need to run ''ulimit -n 64000'' to raise the limit on number of open files - Download Floating IPS and extract the appropriate executable to ''FreeEnt/server/bin/'' (the directory will need to be created) * Windows and Mac: [[https://www.romhacking.net/utilities/1040/]] * Linux: The code can be found at [[https://github.com/Alcaro/Flips]] * Set the executable bit (''chmod +x'') on the flips-linux executable