wealthbot-io / wealthbot

Use wealthbot.io to easily setup your own wealth management platform ⛺
Other
675 stars 158 forks source link

Demo installation with Docker doesn't work #120

Closed Thailer86 closed 5 years ago

Thailer86 commented 5 years ago

I did the following steps to setup the appliction:

  1. Cloned project from GitHub
  2. Run docker-compose build
  3. Run docker-compose up -d
  4. Logged in to php container docker-compose exec php bash
  5. Run ./startup.sh to fetch composer dependencies, setup the DB and load the fixtures

After this when I access the server, the demo page is shown but nothing works:

vlad-ko commented 5 years ago

@Thailer86 , we are in the process of upgrading the project from symfony2 to symfony3, I expect things to be unstable at the moment. (Also moving things from vagrant to docker, docker-compose).

Maybe @azatyan has a few minutes to help you out. I will be traveling until Jan 31st and hopefully we'll resume work after that. If you are interested in contributing please email me at hi {at} wealthbot.io.

azatyan commented 5 years ago

@Thailer86 The forms part is not ready. it don't depends from docker

chibsta commented 5 years ago

@azatyan have the forms been sorted yet? I was able to successfully install 1.1.0 branch but there are a number of errors I was not able to resolve. When do you think the new version will be out?

Thailer86 commented 5 years ago

+1 I am also interested. I am anyway wondering, wouldn't it be best practice to develop such major changes on the "develop" branch and only merge working software into the master, so master is always stable and working?

azatyan commented 5 years ago

Ill try to resolve docker issue

On Feb 28, 2019, at 12:02 PM, Martin notifications@github.com wrote:

+1 I am also interested. I am anyway wondering, wouldn't it be best practice to develop such major changes on the "develop" branch and only merge working software into the master, so master is always stable and working?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/wealthbot-io/wealthbot/issues/120#issuecomment-468175749, or mute the thread https://github.com/notifications/unsubscribe-auth/ABD54mDhUC6KJztKe59VprxDZgGo_pZzks5vR40YgaJpZM4aPtQW.

vlad-ko commented 5 years ago

@Thailer86 we had issues with master because it was very much outdated and things weren't really working. hopefully we'll be able to slowly, but sure upgrade things so the project actually goes back to a stable state. By the way, if you are interested in contributing to the project, please let me know.

big-datai commented 5 years ago

guys, Is any of branchs working? I was able to deploy master but not able to install .bin/console doctrine:schema:create on develop branch i ran "docker-compose exec php bash" and start.sh "wealthbot_user.registration.ria.form.handler" has a dependency on a non-existent service "request". Any ideas what i could deploy on my mac to play with it, and what steps i need to follow?

big-datai commented 5 years ago

i was able to do on master docker-compose build docker-compose up ./ startup.sh docker-compose exec php bash got no exception, and the site is up, but I am not able to login in, what i am missing?

vlad-ko commented 5 years ago

@bigdatamlai i think you still need to run composer, create schema and load the fixtures so you have some preliminary data. The commands should be at the bottom of Readme.

It would be great if you could update Readme, if you find that some info is missing or inaccurate. Thanks.

big-datai commented 5 years ago

@vlad-ko after docker-compose up -d i ran "docker-compose exec php bash" and ./startup.sh I also ran bin/console doctrine:schema:create and bin/console wealthbot:fixtures:load Which command should i run with composer? i ran "composer install" root@f210f9cbce55:/var/www/symfony# composer install Do not run Composer as root/super user! See https://getcomposer.org/root for details Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Your requirements could not be resolved to an installable set of packages.

Problem 1

vlad-ko commented 5 years ago

@bigdatamlai .. eh, looks like GD is missing. we probably didn't test properly the new docker setup. it's possible we just need to install php-gd (http://php.net/manual/en/image.installation.php) here: https://github.com/wealthbot-io/wealthbot/blob/master/docker/php-fpm/Dockerfile#L19

i actually thought it was enabled by default nowadays. anyways, that might help to get further along once GD is enabled in the php container. unfortunately I am at work and won't be able to test this. if that's something you can try on your local i would appreciate it.

azatyan commented 5 years ago

Currently, we are upgrading Webo to Symfony version 4.4