Giter Site home page Giter Site logo

Comments (9)

PollyP avatar PollyP commented on July 29, 2024 2

@j-ro: The vagrant instructions worked like a charm for me. You are awesome.

from phantom-of-the-capitol.

mabuaisha avatar mabuaisha commented on July 29, 2024

@Hainish could you check my comment above and try to help ?

from phantom-of-the-capitol.

PollyP avatar PollyP commented on July 29, 2024

I'm having the same problem. Here is what I have tried to debug it:

  • tried attaching to the database in the first docker instance using the user "phantom_dc" and the MYSQL_APP_PASSWORD from my host. Nope.
  • tried attaching to the database in the first docker instance using the user "root" and the MYSQL_ROOT_PASSWORD from my host. Yes.
  • did an exec of bash into the first docker instance and tried attaching as user "phantom_dc" locally, using the MYSQL_APP_PASSWORD. Nope.
  • Tried attaching as root locallying, using MYSQL_ROOT_PASSWORD. Yes.
  • Selected USERS out of mysql.users, got two root users (!!), mysql.sys, and NO phantom_dc user.

My mysql-fu is pretty rusty and I am out of ideas. Can anyone get me pointed in the right direction? My goal is to spin up a local instance to use for testing for an application I'm developing.

Thanks in advance for your help.

from phantom-of-the-capitol.

j-ro avatar j-ro commented on July 29, 2024

While we've never tried the docker way, we did have success the vagrant way, so could try that.

from phantom-of-the-capitol.

PollyP avatar PollyP commented on July 29, 2024

A quick followup question: I've installed via vagrant and populated the database and verified it with a curl command against http://localhost:9292/retrieve-form-elements. But what's the best practice for testing against /fill-out-form without touching the actual congressional contact forms?

from phantom-of-the-capitol.

j-ro avatar j-ro commented on July 29, 2024

As far as I know there, is none -- I'm not sure what exactly you'd be testing without going and filling forms. So go ahead and fill them, we do tests like this all the time.

from phantom-of-the-capitol.

Hainish avatar Hainish commented on July 29, 2024

cc @wioux

from phantom-of-the-capitol.

wioux avatar wioux commented on July 29, 2024

@PollyP that sounds useful and I've proposed a feature on #99.

from phantom-of-the-capitol.

mabuaisha avatar mabuaisha commented on July 29, 2024

@Hainish @wioux The vagrant instructions worked 100% for me but the issue is when I tried to use the docker and based on the instructions it seems it doe not work at all , I think docker will be much easier to run and deploy for production use than vagrant , all we need to do is just ti run the docker image and it will work like a charm.

I think if you make the docker work that will be helpful

from phantom-of-the-capitol.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.