Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REQ: Dockerfile or Self Hosting Documentation #549

Open
ethanpil opened this issue Dec 25, 2023 · 7 comments
Open

REQ: Dockerfile or Self Hosting Documentation #549

ethanpil opened this issue Dec 25, 2023 · 7 comments

Comments

@ethanpil
Copy link

I would appreciate some instructions to self-host this. I want to be able to have my own personal versoin of https://webmaker.app/app/

Not run locally or as an extension. I want to run it on my homelab as a local subdomain - http://web-maker.local

Some similar previous issues/requests - #471 #444 #91 etc.

@chinchang
Copy link
Owner

It runs on local easily. But to be able to host on a server requires some additional steps. I'll see if I can get a chance to document those as well.

@ethanpil
Copy link
Author

ethanpil commented Jan 21, 2024

After playing with everything for a while, here is what I figured out using Alpine Linux.

Need to use Alpine 3.15 for correct node version. Need documentation to setup firebase, etc.

Would love to see something without firebase, perhaps using PouchDB or Triplit for a truly self hosted solution.

apk add --no-cache git nodejs npm 
npm install -g yarn gulp-cli
mkdir /srv && cd /srv
git clone https://github.com/chinchang/web-maker.git
cd web-maker
npm install
gulp release

@opencoca
Copy link

opencoca commented Feb 9, 2024

Nice, buildout. Pocketbase might be another great option.

@chinchang
Copy link
Owner

After playing with everything for a while, here is what I figured out using Alpine Linux.

Need to use Alpine 3.15 for correct node version. Need documentation to setup firebase, etc.

Would love to see something without firebase, perhaps using PouchDB or Triplit for a truly self hosted solution.

apk add --no-cache git nodejs npm 
npm install -g yarn gulp-cli
mkdir /srv && cd /srv
git clone https://github.com/chinchang/web-maker.git
cd web-maker
npm install
gulp release

Yep! And after this the generated dist folder can be served.

@IOLOII
Copy link

IOLOII commented May 26, 2024

After playing with everything for a while, here is what I figured out using Alpine Linux.
Need to use Alpine 3.15 for correct node version. Need documentation to setup firebase, etc.
Would love to see something without firebase, perhaps using PouchDB or Triplit for a truly self hosted solution.

apk add --no-cache git nodejs npm 
npm install -g yarn gulp-cli
mkdir /srv && cd /srv
git clone https://github.com/chinchang/web-maker.git
cd web-maker
npm install
gulp release

Yep! And after this the generated dist folder can be served.

Say it in the first : I'm not a programmer with rich experience in large-scale projects. The questions raised may be relatively simple, so please don't mind.

#471

😆 So , just run

gulp release

Will get dist/* files.

But why config this script in package.json

"build": "preact build --template src/index.ejs --prerender false --no-inline-css --sw false",

I just received your reply. Then try to build with node v16 by run script "npm run build" , but get error :" ENOENT: no such file or directory, open '/Users/username/Desktop/repos/web-maker/src/lib/monaco/monaco.bundle.js.map' "

image

Why not add a script config in package.json :

"build":"gulp release"

@chinchang
Copy link
Owner

@IOLOII you mentioned node v6. Are you really using node v6? That would be too old to run Web Maker on. If yes, try with node 16.

@IOLOII
Copy link

IOLOII commented Jun 6, 2024

@IOLOII you mentioned node v6. Are you really using node v6? That would be too old to run Web Maker on. If yes, try with node 16.

I'm sorry .I wrote it wrong. The version I used is v16 whitch you told me #471

Among the content mentioned above, what I actually want to ask more is: Why not add a script config in package.json,More descriptions are also in the previously mentioned content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants