Comments (9)
Hey @dkundel and @deadpyxel I submitted a Pull Request #1060 for a Docker image. If you'd like to give Feedback, suggest changes or get it merged feel free to leave a comment :D
from open-pixel-art.
Thank you so much for opening your first issue for this project! We'll try to get back to it as quickly as possible. While you are waiting...here's a random picture of a corgi (powered by dog.ceo)
from open-pixel-art.
I don't use docker too much and didn't think about it because it's a static website deployed to Netlify. I'd love to have the setup as easy as possible but if you could elaborate a bit more about the benefits and any changes it would create to the experience, I'm open for it.
from open-pixel-art.
Sure thing.
Description
The idea is that, additionally to the current setup, we would offer an option to allow the contributor to setup a docker development environment.
Context
- One of the benefits is that the user would not have to install dependencies on their machine, having less problems with conflicting versions of node/packages and broken system configs;
- Another point is that by having that setup, the verification steps could be automated, and it would make the contribution process simpler, with less rejected PRs;
- Personally, I believe that learning how to setup a project using docker is a good thing for any developer to know, since it is currently used in many businesses;
Possible Implementation
We could define a Dockerfile
with something like what is shown in Dockerizing a NodeJS application:
FROM node:lts-alpine
# Create app directory
WORKDIR /usr/src/app
# Install app dependencies
COPY package*.json ./
RUN npm install
# If you are building your code for production
# RUN npm ci --only=production
# Bundle app source
COPY . .
# Here would come the formatting and verification steps.
EXPOSE 3000
CMD [ "npm", "start" ]
This is my current idea. We can adjust it for whatever are the project needs.
from open-pixel-art.
I think that's fine. If you'd want to work on a Dockerfile and also add the part to the CONTRIBUTING.md
on how to use it as an alternative (don't replace the basic setup) feel free to go for it
from open-pixel-art.
Sure, I'll be working on this then. I just ask you to review the changes I make on the README and CONTRIBUTING.
from open-pixel-art.
For sure :) I'll review it all.
from open-pixel-art.
Congratulations on your PR, you made a better work than I was able to come up. I was forgetting about the additional files for testing.
from open-pixel-art.
Thank you for your contribution @MatejMecka :) I'll close this one :)
from open-pixel-art.
Related Issues (20)
- [TRANSLATION] Add docker section on CONTRIBUTING.md portuguese translation HOT 2
- [BUG] "npm test" fails HOT 3
- [BUG] There's no format:json script in package.json HOT 2
- [BUG] Bad license link HOT 2
- [TRANSLATION] Add French translation for contribution guide HOT 1
- [BUG] Zero coordinates doesn't show up on mouseOver. HOT 6
- [BUG] ticket 3196 merge bug HOT 1
- [TRANSLATION] Add Polish HOT 2
- Not recognizing my contribution [BUG] HOT 2
- Unfortunately the automatic code review has failed. Please click the details button for more information. If the details reveal a fail in Danger please note that there is currently a known issue (\#2046) and @dkundel will merge your PR manually in the coming days. Sorry for the inconvenience. HOT 2
- Merge bot fails to merge correctly formatted pull requests. HOT 10
- [BUG] 'npm test' times out HOT 11
- [TYPO] Says Pix instead of pick HOT 3
- [BUG] Docker Build Failing in Step 4, npm POSTInstall | Git Not Found Issue HOT 2
- [BUG] NPM TEST Failed | Merge Pixels File | Docker Build Last Step HOT 1
- [BUG] Zero coordinates doesn't show up on mouseOver HOT 4
- open-pixel-art HOT 3
- [BUG] Netlify deploy error HOT 1
- [FEATURE] Please process pull requests HOT 1
- [FEATURE] Add other contributors to work thru the pull request backlog...
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 open-pixel-art.