Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 677 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 677 Bytes

Webuscript

This silly webserver allows you to register users, set your language, and see others' languages.

Usage

Website setup

Install XAMPP, and copy this repo into its htdocs.

Database setup

Create a MySQL database, then run init.sql in it.

Binding

In htdocs, create a file named sql_credentials.json in the following format:

{
	"ip": "[IP of MySQL database server]",
	"user": "[User of database server]"
	"password": "[Password for user]",
	"database": "[Name of database in which you ran init.sql]"
}

Start

Lastly, use XAMPP to start Apache. Ensure that the MySQL server is running.