jefc1111 / zenbot-sim-runner

A sim run batch aggregator / automator for Zenbot. Eases the process of backtesting and subsequent analysis of results.
4 stars 1 forks source link

seems cool but... lol #5

Open DrBlackross opened 2 years ago

DrBlackross commented 2 years ago

"in a nutshell, you need to install the dependencies, tell it where your working instance of Zenbot is, import some data from Zenbot and away you go!"

(i think i found that part)

the but is... doesn't zenbot use mongodb? not mysql

DrBlackross commented 2 years ago

(trust me i went through this years ago tweeking zenbot and gecko in node)

DrBlackross commented 2 years ago

i keep getting stuck at the 'composer install' step

~/zenbot-sim-runner$ composer install Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run composer update or composer update <package name>. Your requirements could not be resolved to an installable set of packages.

Problem 1

php --version PHP 7.4.3 (cli) (built: Jul 5 2021 15:13:35) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.3, Copyright (c), by Zend Technologies

DrBlackross commented 2 years ago

OK, ran

sudo apt install php-xml

fixed composer install issue

DrBlackross commented 2 years ago

ok going to install mysql (i think)

~/zenbot-sim-runner$ php artisan migrate


using this guide

https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-20-04

DrBlackross commented 2 years ago

alright, using this guide... lol

https://stackoverflow.com/questions/46745365/artisan-migrate-could-not-find-driver

~/zenbot-sim-runner$ sudo find / -name php.ini /home/drblackross/zenbot-sim-runner/vendor/laravel/sail/runtimes/8.0/php.ini /home/drblackross/zenbot-sim-runner/vendor/laravel/sail/runtimes/7.4/php.ini /etc/php/7.4/cli/php.ini

either way it didn't work lol its a cool idea, but forge wasn't able to access the sql database in the end and add the tables, even though i did add the user lol... i can wait till some of the bugs get worked out.

if it can work with mongodb that'll be cool

(phpnuke wasnt this hard lol)

jefc1111 commented 2 years ago

Yeah, getting everything to hang together working properly is quite an 'expert' undertaking really, and I just haven't had the time to refine the install process. Thanks for persevering!

However ... I have been working on a Docker-based deployment which includes all the many dependencies (even Zenbot and MongoDB). I've got it deployed in the cloud I just need to set up a domain name of some sort. Once that is sorted I will let you know in this thread and you can sign up for a login. I wish I could get it done right now but have a lot of other responsibilities. I'd hope to be able to get back to you within a few days though.