Currasco EtI template
Steps to use the currasco commandline interface (CLI) to pull the (public) currasco-eti content and build it locally.
1. Make sure you have at least read access to the currasco project
2. Install debian dependencies with the following:
```
sudo apt install build-essential libssl-dev pandoc atom`
3. Install useful atom packages manually or by running the following:`
apm install markdown-preview-enhanced git-plus atom-mermaid intentions busy-signal linter linter-ui-default linter-remark atom-markdown-table-editor
Run the following:
``
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
Open a new Terminal and run the following:
``
nvm install v8.9.0
nvm use v8.9.0
Run the following:
``
npm install -g npm
npm install -g docsmith@beta
npm install -g react-native-scripts
npm uninstall -g currasco
Run the following:
``
npm install -g currasco
Run the following:
``
cd ~/src
mkdir currascotest
cd currascotest
Run the following:
``
rm -rf @currasco
rm -rf ~/.content/*
Run the following:
``
currasco init
Run the following:
``
sudo sysctl -w fs.inotify.max_user_instances=524288
sudo sysctl -w fs.inotify.max_user_watches=5242880
#$3
sudo sysctl -w fs.inotify.max_user_instances=1024
sudo sysctl -w fs.inotify.max_user_watches=12288
#$3
sudo sysctl -w kern.maxfilesperproc=524288
sudo sysctl -w kern.maxfiles=5242880
Run the following:
``
currasco start
Browse to 127.0.0.1:8081 in your browser
1. Make sure your mobile device is on the same local network as your development machine
2. Make sure the firewall on your development machine will allow incoming connections on ports 19000 and 19001expo
3. Install on your mobile device ([Android] [iOS])expo
4. Launch
5. Click Scan QR Code
6. Scan the QR code that appears on your Terminal window
7. When the packager is done, the mobile app should appear on your mobile device
1. Launch atom and open one of the following files:
- ~/src/currascotest/@currasco/preview/index.md~/src/currascotest/@currasco/preview/test-folder/index.md`
-
2. Edit the file and save your changes
3. Note the linting feedback in atom
4. Watch the web preview in your browser
5. Watch the mobile version on your device