-
Notifications
You must be signed in to change notification settings - Fork 38
2. Installation
Running the server is fairly straightforward, for the most part. If you encounter any issues, make sure you use the alternative solution.
In the command line run: npm install
Convert the server configuration for local usage, go in both src/server/config.json
and src/client/config.json
and update the ports and settings to meet your needs.
If you are running this project locally then you will need something like XAMP or MAMP that you can turn on and use to run MySQL locally.
If you are running this project on a server then you will need to make sure you have a mysqld instance running.
Make sure you have the proper config for the MySQL server in your src/server/config.json
file, often times connection issues with WTFServer will be due to connection or authentication errors when trying to connect to your MySQL database.
In the command line type: npm run wtfserver
Open another terminal and then type: npm start
Now open your browser and navigate to http://{ip}:{port}/
as defined in your configuration files. Typically this will be http://localhost:3000
if you use the default webpack and client configuration settings provided.
Maintained by Design1Online.com, LLC