makuga01 / dnsFookup

DNS rebinding toolkit
249 stars 41 forks source link

making some changes for more compatible setup #30

Open am0o0 opened 1 year ago

am0o0 commented 1 year ago

I have some thoughts in my head for making setup process more compatible:

  1. BE: It is good to set version number for all BE/requirements.txt packages.
  2. FE: the compatible node and npm version are important because I can't setup dnsfookup on newer versions of node and npm
  3. the latest tag in docker-compose.yml can(maybe) make this docker compose file incompatible with backed in future.

It would be great to this issue accept any idea to making dnsfookup setup easier and with less problems.

am0o0 commented 1 year ago

automatic setup with a bash script can be easy, I'm thinking about whether we should ask users to edit FE/.env.* and config.yaml files manually before running the auto-setup script or we can ask require config variables during the auto-setup? @makuga01 what is you opinion?

am0o0 commented 1 year ago

there is a easy guide for setup up dnsfookup for production with one domain name, before that we should put production setup guide sth like following for FE:

cd FE
npm install
npm run build
npm install -g serve
serve -s build