Comments (9)
@j-ro: The vagrant instructions worked like a charm for me. You are awesome.
from phantom-of-the-capitol.
@Hainish could you check my comment above and try to help ?
from phantom-of-the-capitol.
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.
While we've never tried the docker way, we did have success the vagrant way, so could try that.
from phantom-of-the-capitol.
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.
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.
cc @wioux
from phantom-of-the-capitol.
@PollyP that sounds useful and I've proposed a feature on #99.
from phantom-of-the-capitol.
@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)
- Support test posts to /fill-out-form HOT 1
- CORS broken for browsers that do preflight checks HOT 5
- More detailed error message from /fill-out-form endpoint? HOT 1
- Can't Connect to MySQL Using Docker HOT 5
- Aborted connection '#' to db: ... Got an error reading communication packets HOT 2
- ReCaptcha support HOT 3
- sending html within $MESSAGE HOT 1
- Add dnt-policy to /.well-known
- If "verify email" is a field, API required fields returns two fields called "$EMAIL". Impossible to reply with two $EMAIL key values. HOT 5
- phantomjs alternative HOT 20
- add this project to ios mobile project HOT 8
- rename docker-compose.test.yml to something else
- How to pass $CAPTCHA_SOLUTION parameter value to fill-out-form method?
- Issue with fill-out-form for contact pages with reCAPTCHA HOT 2
- related to bundle
- How are you solving reCAPTCHA? HOT 1
- 502 bad gateway on congressforms.eff.org
- Rake file version error
- Getting bad gateway HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phantom-of-the-capitol.