Skip to content

xusenlin/marewood

Repository files navigation

MareWood

中文文档

marewood is an open source automatic packaging deployment tool for front-end

What is MareWood doing?

marewood will help you clone the frontend Git repository. Once you associate a repository with a packaging task, you can choose the branch and command for packaging. After a successful packaging, you can access it through an alias.

Usage

  • If the registered username is Admin, it will automatically become a super administrator, and usernames cannot be repeated.
  • Configure the front-end project to automatically select different API request addresses using different packaging commands, in order to meet the packaging requirements of various environments.
  • If you need to switch the Node.js version, please stop the Marewood container and run another version of the container. Each Node version uses its own named volume (e.g., marewood-data-22 for node22) to avoid compatibility issues.
  • The mounted "resources" directory contains database files, cloned Git repositories, log files,and packaged static files (in the "web" directory). Nginx is used to serve the static files and is configured to point to the "web" directory. This setup allows for accessing the packaged projects freely using URLs.

node16

docker run -d --name marewood -p 8088:8088 -v marewood-data-16:/marewood/resources ghcr.io/xusenlin/marewood:1.2-node16

node18

docker run -d --name marewood -p 8088:8088 -v marewood-data-18:/marewood/resources ghcr.io/xusenlin/marewood:1.2-node18

node20

docker run -d --name marewood -p 8088:8088 -v marewood-data-20:/marewood/resources ghcr.io/xusenlin/marewood:1.2-node20

node22

docker run -d --name marewood -p 8088:8088 -v marewood-data-22:/marewood/resources ghcr.io/xusenlin/marewood:1.2-node22

node24

docker run -d --name marewood -p 8088:8088 -v marewood-data-24:/marewood/resources ghcr.io/xusenlin/marewood:1.2-node24

Screenshot

Dashboard

Dashboard

Repo

Repo

Task

Task

Task History

TaskHistory

Task Info

TaskInfo

Roles

Currently, the roles are divided into: Super Administrator, Administrator, Developer, and Project Journalist. The permissions are as follows:

  • Project Journalist - can only view all content and access the packaged front-end project
  • Developer - has the permissions to create repositories, categories, tasks, pull code, switch branches, run builds, delete dependencies, and trim branches
  • Administrator - can delete repositories, categories, and tasks
  • Super Administrator - can manage users (promote and demote roles, delete users) Note: Higher-level roles have all the permissions of lower-level roles. Users are registered as Project Journalists by default. If the registered name is Admin, it will automatically become a Super Administrator. Registered names cannot be duplicated.

Note

Repo

If your git repository is not public, you need to provide your Git account and password when creating the repository to obtain cloning permission.

task

This task runs every time using git pull to fetch the latest code, and displays the hash of the current git commit in the task field column, so you can confirm if it is the latest submission.

docker for mac

We use named volumes instead of host path mounting to avoid the pnpm + gRPC FUSE/VirtioFS issue on Docker Desktop for Mac. Named volumes store data in Docker's internal filesystem, avoiding the file sharing problems that affect pnpm when using bind mounts.

Related issue: docker/for-mac#6787

android and ios app

App

Currently under development, please stay tuned.

App Screenshot 1 App Screenshot 2
App Screenshot 4 App Screenshot 5
App Screenshot 5

License

MIT © MareWood

About

🌻marewood is an open source automatic packaging deployment tool for front-end

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors