Server for the video game Script Forte written on PHP and MySQL server.
- MySQL server
- Apache for PHP (PHP 5 recommended)
- Install MySQL server and open MySQL server UI panel.
- Put the SFServer cloned on your web directory.
- Navigate to
<SFServer dir>/db
and import thedb_scriptforte
database schema to your server. - Run your server. You can network it if you want.
- Build the Docker image
docker build -t sfserver .
- Run the container to bounded to the available port of your PC
# Example: docker run -p 41061:80 sfserver
docker run -p [your port no.]:80 sfserver
- Launch the game and open the settings window found on the bottom left of the screen.
- Paste
SF Server
home URL.
// Example: If the SF Server is ran through Docker at port 41061
http://localhost:41061/sfserver
There are included sample user accounts you can use on the Docker demo environment. Please see the wiki.