Comments (9)
@SerhiiCho One thing though, not sure if this issue should be labeled as a bug, because the feature works, is just that you need to have the environment properly set up and it works as expected. I think this issue is more about us defining all the ways you can start this project locally and work based on your machine, and improve the docs a bit so that users who are willing to contribute to this project ca do so relatively easy. Unfortunately I don't have access to a Mac laptop, therefore I would need some help with that part.
@Erol314 As you mentioned here that you are going to give this project a try on m2 mac, could you please also have a look at this https://patrickwthomas.net/macos-docker/, it would be nice if this works well because it will simplify a lot the sail setup.
from rfc-vote.
Makes sense
from rfc-vote.
Just FYI, setting BROWSERSHOT_FAKE=true
in your .env
will skip all the image rendering and get rid of this error.
from rfc-vote.
@SerhiiCho, Unfortunately I didn't have time to look at this, basically this line works for all devices expect for the arm ones, in your case Mac m1.
Basically you need chrome or chromium for browsershot which is used in a job to generated the meta image.
The fix would be somewhat similar to what was suggested here somehow we need to specify what package to install based on cpu arhitecture, I think for mac m1,m2 chromium is needed, we could decide to use only chromium. Maybe if we only use chromium it will be a bit simpler to handle this.
I'll try to have a look at it today if I have time.
from rfc-vote.
@SerhiiCho have you tried to install Rosetta 2? apparently this will allow you to run x86 docker images, please have a look here
https://docs.docker.com/desktop/install/mac-install/ here is another link or more info on this https://patrickwthomas.net/macos-docker/
I you haven't installed Rosetta yet, please try installing it then make sure that you revert any changes made to this file https://github.com/brendt/rfc-vote/blob/main/docker/8.2/Dockerfile so that it installs chrome(this will not install chrome directly in your machine, meaning it will only run inside docker container)
from rfc-vote.
To vote for RFC, people need to install extra packages? Or is it just in Docker?
from rfc-vote.
Only for docker dev mode, in production is something else, and I think @brendt takes care of that. But locally with docker is a bit more complicated, and if I understand well from the linked articles Rosetta 2 will simplify a bit all of that because it will allow you to run docker images that are not specially built for arm.
from rfc-vote.
Unfortunately I didn't have time to look at this
No worries, I'll ditch Sail for now, it's causing too much issues for me. I'll use it locally with artisan serve
from rfc-vote.
Unfortunately I didn't have time to look at this
No worries, I'll ditch Sail for now, it's causing too much issues for me. I'll use it locally with artisan serve
Sure, you can work on this project without docker as well, maybe that is even better for you as far as dev experience goes.
Personally I like working with docker, but this is a personal preference. :)
from rfc-vote.
Related Issues (20)
- Clickable cards on the homepage HOT 6
- Linkedin share issue HOT 2
- Argument social share buttons should link to argument directly
- Pagination Breaks After Edit HOT 1
- Code block styling: small size HOT 3
- The color of strong tags in dark mode is difficult to read HOT 1
- Vote bar is not aligned in card
- RFC suggestion/discussion HOT 4
- ❓ Not used Blade files? HOT 2
- Error 500 when trying to change account e-mail HOT 1
- Move tutorial from RFC page to About page
- Code highlighting is broken for code samples
- Clean the codebase by removing unused files
- Code blocks lack contrast in bright mode HOT 4
- unreadable code snippet when using ligth mode HOT 2
- User feedback HOT 9
- RFC suggestions issue
- Change styles of monospaced inline code examples in RFC description
- Performance issues HOT 23
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 rfc-vote.