How to Develop Wick Editor (work in progress) #40
StickmanRed
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
|
Hey! I think we can get it up Node 20. We should stop using C.R.A, and start using Vite! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Setup
I know, there's a lot to download, and a lot of setting things up, but the work should hopefully be worth it!
npm login, then enter the username, password, and email for your npm account. Then try typingnpm whoamito see if you're logged in!Installation
git clone https://github.com/Wicklets/wick-editor/. This will install the Wick Editor source code (clone) on your computer in a folder named "wick-editor". (To contribute to my fork, typegit clone https://github.com/StickmanRed/wick-editor/.)C:\Users\[username]\wick-editor) and select it. VSCode will then load your folder, and you can navigate through the files in the explorer panel.npm install. Note: This will install a bunch of files in a folder namednode_modules. These are all the libraries that Wick Editor uses. Make sure you have enough space for them all (around 1 GB).If all went well, you're officially ready to mess around with the code!
Navigating the code
Wick's internals are quite complex; it takes lots of searching and code-reading to find where you need to work on. I'll be adding a few tips that may be useful!
Testing
npm start. Then go to your favorite browser and go to the linklocalhost:3000. You will see nothing at first, but once the terminal is done with its set-up process, it will display "Compiled successfully! You can now view wick-editor in the browser." Return to the tab and refresh to see your copy of Wick Editor.npm run build-engine, ornpm run build-engine-windowsif you use Windows. Your page will update after a few seconds (maybe a minute).npm startand pressCtrl+C(on Mac it's probablyCmd+C). This will stop the website andlocalhost:3000will stop showing Wick Editor.Deploying
Beta Was this translation helpful? Give feedback.
All reactions