Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

# production
/build
/build-ios/WebViewExample/local_html
/build-electron
/dist

# misc
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14
24
29 changes: 29 additions & 0 deletions .svgrrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
module.exports = {
jsxRuntime: 'classic',
plugins: ['@svgr/plugin-jsx'],
svgoConfig: {
plugins: [
{
name: 'preset-default',
params: {
overrides: {
removeViewBox: false,
},
},
},
],
},
jsx: {
babelConfig: {
plugins: [
[
'@babel/plugin-transform-react-jsx',
{
throwIfNamespace: false,
useBuiltIns: true,
},
],
],
},
},
};
52 changes: 7 additions & 45 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,10 @@ If nothing returns you can download it with [this command](<https://brew.sh/>)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```

### 2. Python
You may need Python 3.10 to be able to run some of the packages that come with Candlestick.
First check if you already have Python
```
python3 --version
```
If nothing returns, then run
```
brew install python@3.10
```
Then run the version command at the end as a check. If you would like to install Python without Homebrew, [you can download it from their site here](<https://www.python.org/>), and for more detailed steps [check out this article.](<https://www.dataquest.io/blog/installing-python-on-mac/>)

### 3. Node Version Manager
### 2. Node Version Manager
<sup>(nvm = Node Version Manager)</sup>

nvm is a CLI library that helps you manage the Node versions you have installed on your device. You should be able to [install Node versions directly from online](<https://nodejs.org/en/download>), but as we're going for a specific older version and to be more organized, we recommend installing nvm.
nvm is a CLI library that helps you manage the Node versions you have installed on your device. You should be able to [install Node versions directly from online](<https://nodejs.org/en/download>).
Run a quick nvm check to see if you have it installed—
```
nvm ls
Expand All @@ -60,34 +48,15 @@ which downloads the nvm code to an nvm directory on your system. Try running `nv

<sup>If you're on Windows, please see [nvm-windows](https://github.com/coreybutler/nvm-windows).</sup>

### 4. Installing Node v14
Wick Editor is a software that hasn't been updated in ~5 years before we picked it back up with our fork.
For that reason though, it requires an older version of Node.
### 3. Installing Node
Wick Editor uses the active version of Node, 24.

Try first running this command to install Node v14:
```
nvm install 14
```
There's a chance this works, and if it does you may move on to the next step.
If it doesn't work, and you're on a Mac device with an M-series chip, the issue is likely because Node v14 doesn't have ARM64 support, so you'll likely need to install [Rosetta 2](<https://github.com/nodejs/node/issues/52306#issuecomment-2031073649>) to work around this issue.
```
/usr/sbin/softwareupdate --install-rosetta --agree-to-license
Ensure you're on the correct Node version using `nvm`:
```
Then use it to change the arch
nvm install 24
```
arch -x86_64 zsh
```
Then re-run nvm install.
```
nvm install 14
```
<sup>For anyone on Windows, you won't need this step</sup>

Things usually get resolved after this. If you still have an error, let us know what it says.

**Side Note:** When nvm installs v14, it uses it by default. You can run `nvm ls` to check that it is, if you don't see an arrow next to version `14._._` then run `nvm use 14` and re-check.

### 5. Final step, setup and run
### 4. Final step, setup and run
You need to navigate to your project file... if you don't know how to navigate through the terminal then you may use [this online video tutorial](<https://www.youtube.com/watch?v=5XgBd6rjuDQ>) to learn how. It's simple but takes a minute to explain.

If you haven't downloaded our repository yet then do that by either downloading the zip, or using `git clone`
Expand All @@ -101,13 +70,6 @@ If you have the repository set up, then navigate to the directory and run the fo
```
npm install
```
<sup>(If at any point you switched terminals, please make sure you're still using npm v14 before running the last command, `npm install`. To ensure you're using npm v14, you may run `nvm use 14`, if you have nvm set up successfully)</sup>

You may see a few warnings, like ummmm... a little over 300... due to the outdated packages... but don't worry about em' 😅 As long as things download successfully, it's fine.

<sup>Programming rule #1, if things work, don't touch it... don't worry though those are things we're slowly fixing</sup>

If the terminal says something like `found 0 vulnerabilities` after only 7 lines of loading or such, then there's a change you're in the wrong directory.

Once you have everything setup, all you need to do to test your app is... first build the engine:
```
Expand Down
30 changes: 0 additions & 30 deletions build-ios/README.md

This file was deleted.

46 changes: 0 additions & 46 deletions build-ios/WebViewExample/AppDelegate.swift

This file was deleted.

This file was deleted.

6 changes: 0 additions & 6 deletions build-ios/WebViewExample/Assets.xcassets/Contents.json

This file was deleted.

25 changes: 0 additions & 25 deletions build-ios/WebViewExample/Base.lproj/LaunchScreen.storyboard

This file was deleted.

43 changes: 0 additions & 43 deletions build-ios/WebViewExample/Base.lproj/Main.storyboard

This file was deleted.

Loading