gregzaal / Texture-Haven

Website code for texturehaven.com
GNU Affero General Public License v3.0
15 stars 4 forks source link

NOTE: This repo is no longer in use.

Texture Haven has migrated to polyhaven.com which was rewritten from the ground up.

So this code base is old and no longer maintained or relevant.

Original readme below:


Texture-Haven

This repo contains the website code for Texture Haven.

I am not a web developer really, so I apologize in advance for the hideous code you are about to see.

Contributions in the form of pull requests, bug reports or simply ideas are welcome.

To build the site you'll also need to clone the Core Repo into a core subfolder, set up a MySQL database† and fill in the following info in php/secret_config.php:

<?php
$LOCAL_WORKING_FOLDER = "C:/foo/bar/";  // If working on a local machine (not webserver) set this to the root of where you cloned this repo.
$GEN_HASH_SALT = "qwertyuiop";  // Salt used for hash functions

// Database connections
$DB_SERV = "localhost";  // Url of your database
$DB_NAME = "dbname";  // Name of your database

$DB_USER = "";  // Read-write user
$DB_PASS = "";

$DB_USER_R = "";  // Read-only user
$DB_PASS_R = "";
?>

† Right now there is no database schema available, but it should be easy enough to figure out what's required based on the error messages you get ;)