Open ethanpil opened 9 months ago
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.
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
Nice, buildout. Pocketbase might be another great option.
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.
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.
😆 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' "
❓ Why not add a script config in package.json
:
"build":"gulp release"
@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 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.
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.