stylescape-devcontainer

Stylescape | devContainer

https://github.com/stylescape/stylescape-devcontainer

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.9%) to scientific vocabulary

Keywords

devcontainer docker stylescape

Keywords from Contributors

sitemap favicon earthobservation interactive colour cities example network-simulation smart-contracts hacking
Last synced: 6 months ago · JSON representation

Repository

Stylescape | devContainer

Basic Info
  • Host: GitHub
  • Owner: stylescape
  • License: mit
  • Language: Dockerfile
  • Default Branch: main
  • Homepage: https://style.scape
  • Size: 690 KB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
devcontainer docker stylescape
Created over 1 year ago · Last pushed 9 months ago
Metadata Files
Readme Contributing Funding License Code of conduct Citation Codeowners Security Authors

README.md

[![GitHub License](https://img.shields.io/github/license/stylescape/stylescape-devcontainer?style=flat-square&logo=readthedocs&logoColor=FFFFFF&label=&labelColor=%23041B26&color=%23041B26&link=LICENSE)](https://github.com/stylescape/stylescape-devcontainer/blob/main/LICENSE) [![devContainer](https://img.shields.io/badge/devContainer-23041B26?style=flat-square&logo=Docker&logoColor=%23FFFFFF&labelColor=%23041B26&color=%23041B26)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/stylescape/stylescape-devcontainer) [![StackBlitz](https://img.shields.io/badge/StackBlitz-23041B26?style=flat-square&logo=StackBlitz&logoColor=%23FFFFFF&labelColor=%23041B26&color=%23041B26)](https://stackblitz.com/github/stylescape/stylescape-devcontainer/tree/main?file=src%2Findex.html)

Stylescape Logo

Stylescape devContainer

This repository provides a development container configuration for working on the Stylescape project. The configuration is optimized for Node.js, TypeScript, SCSS, and Jinja2 templating, providing a comprehensive development environment using Visual Studio Code's Dev Containers.

DevContainer Configuration

The development container is configured with the following settings:

json { "name": "Stylescape DevContainer", "build": { "dockerfile": "Dockerfile", "context": "." }, "image": "mcr.microsoft.com/vscode/devcontainers/javascript-node:0-18", "features": { "ghcr.io/devcontainers/features/node:1": { "version": "18" } }, "customizations": { "vscode": { "extensions": [ "dbaeumer.vscode-eslint", "esbenp.prettier-vscode", "ms-python.python", "ms-vscode.vscode-typescript-next", "stylelint.vscode-stylelint", "streetsidesoftware.code-spell-checker", "redhat.vscode-yaml", "PKief.material-icon-theme", "syler.sass-indented", "vscode-icons-team.vscode-icons", "jinja.html-formatter", "ritwickdey.LiveServer", "gruntfuggly.todo-tree", "svelte.svelte-vscode", "octref.vetur" ], "settings": { "editor.formatOnSave": true, "terminal.integrated.shell.linux": "/bin/bash", "files.associations": { "*.jinja": "jinja" } } } }, "forwardPorts": [ 3000 ], "postCreateCommand": "npm install && pip3 install -r requirements.txt", "remoteUser": "vscode", "workspaceFolder": "/workspace", "mounts": [ "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=cached" ], "remoteEnv": { "NODE_ENV": "development" }, "containerEnv": { "NODE_ENV": "development" } }

Key Components

  1. Base Image:

    • Node.js Dev Container: The development environment is based on the official Node.js Dev Container image mcr.microsoft.com/vscode/devcontainers/javascript-node:0-18, which includes Node.js 18, ensuring consistency across development environments.
  2. VS Code Extensions: The container is pre-configured with a comprehensive set of Visual Studio Code extensions to enhance your development experience:

    • JavaScript/TypeScript:
      • dbaeumer.vscode-eslint: Linting for JavaScript and TypeScript.
      • esbenp.prettier-vscode: Code formatting with Prettier.
      • ms-vscode.vscode-typescript-next: Enhanced TypeScript support.
    • CSS/SCSS:
      • stylelint.vscode-stylelint: Linting for CSS and SCSS files.
      • syler.sass-indented: Syntax highlighting for SCSS/SASS.
    • Templating & Markup:
      • jinja.html-formatter: Formatting for Jinja2 templates.
      • redhat.vscode-yaml: YAML support for configuration files.
      • ritwickdey.LiveServer: Live reloading for HTML files.
    • Utility & Productivity:
      • streetsidesoftware.code-spell-checker: Spell checking for text files.
      • gruntfuggly.todo-tree: Managing TODO comments effectively.
      • PKief.material-icon-theme and vscode-icons-team.vscode-icons: Custom icons for a better file explorer experience.
    • Framework-Specific:
      • svelte.svelte-vscode: Support for Svelte development.
      • octref.vetur: Support for Vue.js development.
  3. Post-Creation Commands:

    • Automatically installs Node.js and Python dependencies using npm install and pip3 install -r requirements.txt after the container is created, ensuring your development environment is ready to go.
  4. Environment Variables:

    • The NODE_ENV is set to development for both the remote and container environments, ensuring your application runs in development mode.
  5. VS Code Custom Settings:

    • Formatting: Automatically formats your code on save, maintaining code consistency.
    • File Associations: Associates .jinja files with Jinja2 syntax highlighting.

Usage Instructions

  1. Setup:

    • Ensure Docker and Visual Studio Code are installed on your machine. Also, install the VS Code Dev Containers extension if not already installed.
  2. Add the DevContainer Configuration:

    • Place the devcontainer.json file inside a .devcontainer directory at the root of your project.
  3. Open in Container:

    • Open your project in Visual Studio Code. When prompted to "Reopen in Container", select this option to launch the development container.
  4. Working in the Container:

    • Once the container is up, you can work in a fully-featured development environment with all necessary tools and dependencies configured.

Benefits

  • Consistency: Develop in a consistent environment that mirrors your production setup.
  • Pre-configured Tools: Start coding immediately with all essential tools and extensions pre-configured.
  • Portability: Easily share your development environment setup with team members.

Customization

Feel free to customize the devcontainer.json file to better suit your needs. You can add or remove extensions, modify environment variables, or adjust settings as required.

Troubleshooting

  • If you encounter issues with the container setup, ensure Docker is running and that your system meets the requirements for using Dev Containers.
  • Check the logs in the VS Code terminal for any errors during the container build or startup process.

Conclusion

This DevContainer setup for Stylescape provides a robust and efficient development environment, streamlining your workflow and ensuring consistency across different development setups. Enjoy coding in a fully integrated and customized environment!

Owner

  • Name: Stylescape
  • Login: stylescape
  • Kind: organization

Design Framework

GitHub Events

Total
  • Delete event: 1
  • Issue comment event: 1
  • Push event: 3
  • Pull request event: 2
  • Create event: 1
Last Year
  • Delete event: 1
  • Issue comment event: 1
  • Push event: 3
  • Pull request event: 2
  • Create event: 1

Committers

Last synced: 11 months ago

All Time
  • Total Commits: 96
  • Total Committers: 2
  • Avg Commits per committer: 48.0
  • Development Distribution Score (DDS): 0.094
Past Year
  • Commits: 96
  • Committers: 2
  • Avg Commits per committer: 48.0
  • Development Distribution Score (DDS): 0.094
Top Committers
Name Email Commits
Lars van Vianen l****s@v****m 87
dependabot[bot] 4****] 9
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 0
  • Total pull requests: 10
  • Average time to close issues: N/A
  • Average time to close pull requests: 3 days
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 1.0
  • Merged pull requests: 9
  • Bot issues: 0
  • Bot pull requests: 10
Past Year
  • Issues: 0
  • Pull requests: 3
  • Average time to close issues: N/A
  • Average time to close pull requests: less than a minute
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 1.0
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 3
Top Authors
Issue Authors
Pull Request Authors
  • dependabot[bot] (12)
Top Labels
Issue Labels
Pull Request Labels
dependencies (12)

Dependencies

.github/workflows/docker_publish.yml actions
  • actions/checkout v3 composite
  • docker/bake-action v2 composite
  • docker/login-action v2 composite
  • docker/metadata-action v4 composite
  • docker/setup-buildx-action v2 composite
  • docker/setup-qemu-action v2 composite
.devcontainer/Dockerfile docker
  • ubuntu 22.04 build
.devcontainer/docker-compose.yml docker
bin/docker-compose.yml docker
src/.devcontainer/Dockerfile docker
  • scapeagency/swing-devcontainer latest build
src/.devcontainer/docker-compose.yml docker
src/stylescape-devcontainer/Dockerfile docker
  • python 3.12-slim build
.github/workflows/auto-assign.yml actions
  • pozil/auto-assign-issue v1 composite