Giter Club home page Giter Club logo

Comments (7)

njelich avatar njelich commented on May 27, 2024 1

A docker compose is usually the way a local environment is set up.

from chandler.

djaiss avatar djaiss commented on May 27, 2024

Thanks for the very detailed instructions. We appreciate it. We know the current process is not super ideal, and we'll improve it so the Docker installation is easier to use.

from chandler.

njelich avatar njelich commented on May 27, 2024

I've been playing around with the builds and I think the dockerfile can be optimized to build waaay faster using the --cache-from flag.

It would require ordering some of the COPY operations so the minor source changes are the last stuff that gets copied. That way the entire container doesn't need a rebuild every time I change a tiny bit of code.

I'm gonna play around with this because it really speeds up the development loop (just the initial caching that already works by default cut my build time by 60%).

from chandler.

asbiin avatar asbiin commented on May 27, 2024

The issue with the Mailer are not related to the docker image.
When you register a new account, an email is sent to the email address to validate it.
What we could do instead is make this behavior optional, and send this email only if the mailer is ready/setup.
In this case there will be no need to tweak the docker image configuration.

from chandler.

njelich avatar njelich commented on May 27, 2024

I don't see this as an issue per see, just wrote a description of the process because it took some work to set it up. I tried disabling email confirmation in the correct PHP middlewareish file, but it didn't do anything, just made the app throw 500.

Btw, I feel a lot of the grunt work and minor issues (based on the current issues on monica) will be frontend stuff in the future. (minor broken layouts, mixed up copy etc)

@asbiin
Is there any chance we can get a simple guide on setting up for just frontend development, for the non-PHP crew. E.g. I'd be eager to contribute more but I've been having trouble getting the actual local setup to play nice (hence this docker setup tutorial and push for build cycle improvements - since docker runs for me).

from chandler.

djaiss avatar djaiss commented on May 27, 2024

@njelich if you use macOS, setting up Valet makes creating the dev environment a breeze and would deal with PHP and so on. As soon as you have ngninx and PHP working, it's super easy to do dev work.

I don't know how you could use the Docker image to actually do dev work.

If you successfully make it work, after the usual composer install and yarn to install dependancies, we use yarn dev that launches Vite which will give you an URL to copy and paste in your browser.

I have no idea if this helps you in any way, though.

from chandler.

developStorm avatar developStorm commented on May 27, 2024

The email is encoded as quoted-printable so have it go through a decoder will give you the correct URL as well.

from chandler.

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.