User Tools

Site Tools


installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

installation [2025/07/21 10:23] – created paperainsinstallation [2025/07/21 10:43] (current) paperains
Line 18: Line 18:
 </code>Please do keep in mind that your host/account's database server is usually localhost by default. However, some hosting providers have different database servers, like DreamHost—which is dependent on your host's domain (e.g. mysql.domain.tld). So, if localhost doesn't work for you and the script tells you that it can't connect to the server, ask your host for the correct database server. </code>Please do keep in mind that your host/account's database server is usually localhost by default. However, some hosting providers have different database servers, like DreamHost—which is dependent on your host's domain (e.g. mysql.domain.tld). So, if localhost doesn't work for you and the script tells you that it can't connect to the server, ask your host for the correct database server.
   * Copy all the files and folders of the unzipped archive into your website's root path where you want to run your TCG. Kindly take note that Stack's admin panel is located at the ''/admin'' folder, so all the PHP files outside this folder is what will be displayed on your main TCG's site.   * Copy all the files and folders of the unzipped archive into your website's root path where you want to run your TCG. Kindly take note that Stack's admin panel is located at the ''/admin'' folder, so all the PHP files outside this folder is what will be displayed on your main TCG's site.
-  * Once done, direct your browser to run the ''/install'' folder and then follow the 2-step installation to setup your TCG. The supposed URL to run the install should be:+  * Once done, direct your browser to run the ''/install'' folder and then follow the 2-step installation to setup your TCG. The supposed URL to run the install should be:\\ \\ <code> 
 +http://yourdomain.com/install/          <- If you have your TCG on a domain 
 +http://tcg.yourdomain.com/install/      <- If you have your TCG on a subdomain 
 +</code> 
 +  * If your installation is successful and all of the required tables (48 tables in total from the database) has been created—which must have a as a success indicator, click the Delete button to delete the ''/install folder'' and its files. 
 +  * At this point, your installation should be complete and you should be able to login to your account. Go to Stack's admin panel and configure the rest of your TCG's settings first (configuration, card categories, card sets, user levels and such) before adding cards and other stuff. 
 +===== Upgrading Stack ===== 
 +If you have Stack CMS currently installed and you wish to upgrade it to a newer version, carefully follow these step-by-step instructions. 
 +  * Make sure to back up your current Stack CMS database first. You can do this by using phpMyAdmin or similar from your host and then Export the tables you have for your TCG. If you don't have access to your database, you will have to contact your host. 
 +  * Download the latest version of Stack from the website. Unzip or extract the file/archive to a temporary location on your hard drive. Please take note that an upgrade archive only includes the files that has been updated and/or modified from the previous version. 
 +  * Copy all the files and folders of the unzipped archive into its rightful folders. This should overwrite the old files that needs to be upgraded. 
 +  * Once done, direct your browser to run the /upgrade folder and then click the Upgrade to 1.x.x button. The supposed URL to run the upgrade should be:\\ \\ <code> 
 +http://yourdomain.com/upgrade/          <- If you have your TCG on a domain 
 +http://tcg.yourdomain.com/upgrade/      <- If you have your TCG on a subdomain 
 +</code>If your upgrade is successful, it should show a prompt message and the list of upgraded sections with a as a success indicator. Then click the Delete button to delete the ''/upgrade'' folder and its files for security purposes.
installation.txt · Last modified: by paperains