Jump to content
TNG Community

Instructions for Running TNG on a Home Computer


jhculbert

Recommended Posts

Are there TNG installation instructions available somewhere for running on a home computer?

I have an iMac, have XAMPP downloaded, and have a TNG license.

Please advise.  Thanks!

Link to comment
Share on other sites

Thanks!  I cannot find a version of XAMPP that will work.  Will look into MAMP

Link to comment
Share on other sites

Michel KIRSCH

You can try laragon. It'a a winner !  www.laragon.org

 

Michel

Link to comment
Share on other sites

Michel,

www.laragon.org is not a clickable link in the TNG Forum.  Links in the forum and in the wiki must be coded with http:// or https:// to be clickable.

Not picking on you.  Just want to let the TNG Community know that they must provide the full URL.  As far as I know only browsers might resolve the domain name to a URL

Link to comment
Share on other sites

Note that the www.laragon.org  points to what might be considered a hi-jacked site

Also I would not consider https://laragon.org/docs/index.html

as a web server for local computers for TNG user who just want to run a local web site

Quote

Laragon is a portable, isolated, fast & powerful universal development environment for PHP, Node.js, Python, Java, Go, Ruby. It is fast, lightweight, easy-to-use and easy-to-extend.

my assessment only or my 2 cents.

Link to comment
Share on other sites

Michel KIRSCH

The site was reachable this morning at 09:00 (GMT ). I use Laragon 6 months ago, and it is really powerfull, quick, uptodate and easy to use.

The upgrade of PHP or MySQL is doing in a click. Before Laragon, I use EasyPHP  17.0.

It seems that Laragon works fine with WordPress too... And I have no shares in the firm :-)

 

See https://forum.laragon.org

Link to comment
Share on other sites

OK.  I have downloaded and installed MAMP.

But, where do I find instruction on HOW to use it?

The options I see are Cloud, Open WebStart Page, and Start Servers, and also Apache Server, MySQL Server, and Cloud.

I also found a read me file that says only:

"- Put your HTML and PHP files in the htdocs folder!

- Database files are stored in the folder db/mysql or db/sqlite.

- PHP errors are logged in the file logs/php_error.log. If you doubleclick the logfile, the console will be open, which show the last errors."

The htdocs folder was created automatically upon MAMP installation, but there is no db/mysql or db/sqlite folder.

 

Link to comment
Share on other sites

That's what you do. To try it: Make a simple index.html page and put it in the Programs/MAMP/htdocs folder.

Start the MAMP-app (in Programs/MAMP)

The interface will show (see klooster's image above)

Start servers (click icon)

Open a browser and type http://localhost:8888/index.html

You should now see your page.

 

So you install your TNG12 folder (suppose named "tng12") in Programs/MAMP/htdocs and start your site with http://localhost:8888/tng12/

I think the database folders will be created when you install TNG.

 

HTH (I hope I remember everything - I start the servers at computer start-up)

Erik

Edited by XerxX
Added MAMP in paths (sorry!)
Link to comment
Share on other sites

Thanks for the MAMP operational steps, and for the MAMP documention.

Link to comment
Share on other sites

On 5/14/2020 at 4:53 PM, Ken Roy said:

Michel,

www.laragon.org is not a clickable link in the TNG Forum.  Links in the forum and in the wiki must be coded with http:// or https:// to be clickable.

Not picking on you.  Just want to let the TNG Community know that they must provide the full URL.  As far as I know only browsers might resolve the domain name to a URL

Ken,  yes if 'www' is in the URL, then the wrong site is reached, which is unusual.  But using https://laragon.org/  worked OK for me.  On Win10 PC, other than one TNG media wrinkle yet to be resolved in Laragon, I am able to switch between WampServer64 v3.1.18 and Laragon v3.3.1 simply by 'stop all' services on one and 'start all' services on the other, not having to exit either software.  Looks to be a worthy competitor to WampServer and the others.  Professes to make WordPress conversion easy as well, but that isn't of interest to me.

Link to comment
Share on other sites

Laragon local server software update:  The 'media wrinkle' was a simple config error.  All fixed and Laragon is as advertised; easy to install, portable and nimble in operation.  Will have to see process for php and apache module  updates, since this is a young and small company.  It was easy to install phpMyAdmin for db inspection. For now, running alongside WampServer64.

Link to comment
Share on other sites

Since Laragon is a developer's environment, it will be interesting where the GD library is also installed, which is used to create the media thumbnails.

Maybe you and Michel can document how to configure and use it on the TNG Wiki

Link to comment
Share on other sites

1 hour ago, Ken Roy said:

Since Laragon is a developer's environment, it will be interesting where the GD library is also installed, which is used to create the media thumbnails.

Maybe you and Michel can document how to configure and use it on the TNG Wiki

Document?  Michel's been using for six months, myself only one day LOL. Too early for me yet.  I think have been using it outside of  what Laragon calls 'project's, so may not be using the proper way yet to build the TNG app, but it works. Not sure about the thumbnails, since I create my own on the PC, don't know what the GD library is, but will check the Laragon docs and community to see if it is mentioned there.

Link to comment
Share on other sites

Thanks Michel.

Yea, to answer Ken,  I should have looked at Admin:Setup:Diagnostics : with Laragon and TNG loaded.

image.png

Imagemagick is an option but TNG likely doesn't use it.

 

Link to comment
Share on other sites

I only mentioned documenting it in the TNG Wiki - Home Computer category because there are always questions being asked on this forum or on the TNG user2list in regards setting up Home Computers.

Link to comment
Share on other sites

     It looks like GD is embedded in the PHP build the same for both WAMP and Laragon, so it should be in the same place and not need any special configuration.  So unless you are trying to modify the GD version, in which case you have to do special configuration or a special PHP build with whatever system, you should be fine.

     I looked at upgrading Apache, PHP, mySQL, and Heidi to the newest versions as well as installing phpMyAdmin and xdebug.  As with WAMP, all versions are not the latest on initial install.  Some were fairly straight forward to do, but going to mySQL 8.0.20 was not.  https://forum.laragon.org/topic/2017 is where I finally found the directions that worked.

Link to comment
Share on other sites

1 hour ago, bhemph said:

   I looked at upgrading Apache, PHP, mySQL, and Heidi to the newest versions as well as installing phpMyAdmin and xdebug.

Yes, I read somewhere that GD Library (now that I know what it is) has been bundled into PHP since v4.x.   I also had updated phpMyAdmin with the help topic that conveniently popped up when I used Laragon's menu for it.  So have you been using Laragon for some time?

Maybe I should check out xdebug as well.

Link to comment
Share on other sites

I spent 3-4 hours playing with it.  Since I am still working on going through code looking for what is going on in certain places with xdebug and I know how it is working in WAMP, I am staying there for now.  I was just checking it so see if there were maybe some libraries that were more up to date, but it looks like they are using the same dll underneath.  xdebug is good for getting deep into the code and debugging what variables are throughout the stack and watching variables when used in combination with Visual Studio Code, PHP Storm, Eclipse, or other IDE.  It is much more useful than just outputting variables to the screen or a file when getting deep in the code and understanding what is going on like that, but it may be overkill for a lot of users and even for some mod development.

Link to comment
Share on other sites

Thanks Brent.  I was also able to install MySQLdump into Laragon's webspace as well, and tests out good.  I never get into (nor would i know how) the level of debugging that you do.  I test at a shallower level than you, not being the skilled mod author that your are.  But I do pretty well modifying and testing mods with the simpler tools at my disposal.

Laragon has met my needs as well as WampServer, and consumes much less disk space, and makes portability a reality.  Installing  WampServer is often a 'fun filled' experience for me.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...