Code Monkey home page Code Monkey logo

Comments (6)

ddavidebor avatar ddavidebor commented on July 3, 2024

OH GOD THIS WHOLE THING IS A FRAPPE APP
Can't use travis cause local build options are 💩
Can't just build it the old fashioned way cause I would loose my sanity

Need either Drone CI or Wercker CI and get them to build a whole frappe environment but we have the issue that the docker build requires human interaction when installing an app as it asks for the MySQL password

@revant do you think it's possible to get the developer environment in docker to take the MySQL password '123' automatically?

from frappe_io.

ddavidebor avatar ddavidebor commented on July 3, 2024

Ugh we would also need to automate the first login where it asks you to input country and currency, as well as the admin password prompt

from frappe_io.

revant avatar revant commented on July 3, 2024

Ugh we would also need to automate the first login where it asks you to input country and currency, as well as the admin password prompt

Just a thought,

  1. complete site creation and the wizard locally.
  2. backup to .sql
  3. patch .sql during CI / "before_start"

Drawbacks:
.sql will become outdated, either need to create new sql periodically or do migrate as part of ci startup scripts

from frappe_io.

revant avatar revant commented on July 3, 2024

do you think it's possible to get the developer environment in docker to take the MySQL password '123' automatically?

It can be passed as cli param

bench new-site docs.localhost --mariadb-root-password 123 --admin-password admin

from frappe_io.

ddavidebor avatar ddavidebor commented on July 3, 2024

Ugh we would also need to automate the first login where it asks you to input country and currency, as well as the admin password prompt

Just a thought,

  1. complete site creation and the wizard locally.
  2. backup to .sql
  3. patch .sql during CI / "before_start"

Drawbacks:
.sql will become outdated, either need to create new sql periodically or do migrate as part of ci startup scripts

I like it!

do you think it's possible to get the developer environment in docker to take the MySQL password '123' automatically?

It can be passed as cli param

bench new-site docs.localhost --mariadb-root-password 123 --admin-password admin

Thank you, I will also add it to the docker documentation!

from frappe_io.

ddavidebor avatar ddavidebor commented on July 3, 2024

Closed in favour of frappe/frappe_docs#74

from frappe_io.

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.