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

cncjs desktop app image and pm2 advance process manager #861

Open
wants to merge 33 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
df71e0a
Update README.md
universalbit-dev Mar 2, 2023
7425335
Update README.md
universalbit-dev May 16, 2023
727b210
Update README.md
universalbit-dev Jun 14, 2023
717d9cc
Merge branch 'cncjs:master' into master
universalbit-dev Aug 15, 2023
69193ff
Create jekyll-gh-pages.yml
universalbit-dev Sep 19, 2023
d41a774
Create _config.yml
universalbit-dev Sep 19, 2023
941d73d
Update _config.yml
universalbit-dev Sep 19, 2023
79d26ad
Merge branch 'cncjs:master' into master
universalbit-dev Nov 2, 2023
f2d4df6
Update _config.yml
universalbit-dev Nov 2, 2023
0ac96d7
Update README.md
universalbit-dev Dec 30, 2023
a541f77
Update README.md
universalbit-dev Dec 30, 2023
96d8d98
Update README.md
universalbit-dev Feb 18, 2024
a236a8b
Update README.md
universalbit-dev Feb 18, 2024
ec978b4
Update README.md
universalbit-dev Feb 18, 2024
467589b
Update README.md
universalbit-dev Feb 18, 2024
8500014
Update README.md
universalbit-dev Feb 18, 2024
529c748
Update README.md
universalbit-dev Feb 18, 2024
10914f4
Update README.md
universalbit-dev Feb 18, 2024
55868ea
Update README.md
universalbit-dev Apr 5, 2024
b434ef5
Update README.md
universalbit-dev Apr 7, 2024
b7350a6
Update README.md
universalbit-dev Apr 7, 2024
dc323f2
Create readme.md
universalbit-dev Apr 7, 2024
0332ebc
Add files via upload
universalbit-dev Apr 7, 2024
b2a8c2a
Update README.md
universalbit-dev Apr 7, 2024
b9162e0
Update README.md
universalbit-dev Apr 7, 2024
3d62f13
Update README.md
universalbit-dev Apr 7, 2024
7ea3237
Update _config.yml
universalbit-dev Apr 10, 2024
775fd9a
Update README.md
universalbit-dev Apr 14, 2024
83de6e6
Update README.md
universalbit-dev May 19, 2024
0d9f598
Update README.md
universalbit-dev May 19, 2024
7f61934
Update README.md
universalbit-dev May 19, 2024
17339a2
Update README.md
universalbit-dev May 19, 2024
0a33ddf
Update FUNDING.yml
universalbit-dev Jun 1, 2024
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
13 changes: 2 additions & 11 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
# These are supported funding model platforms
custom: ['https://api.blockchair.com/','https://api.blockchair.com/bitcoin/addresses','https://api.blockchair.com/litecoin/addresses']


github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: cncjs
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
51 changes: 51 additions & 0 deletions .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll with GitHub Pages dependencies preinstalled

on:
# Runs on pushes targeting the default branch
push:
branches: ["master"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./
destination: ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v2

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
94 changes: 66 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,35 @@
##### [Support UniversalBit Project](https://github.com/universalbit-dev/universalbit-dev/tree/main/support)
##### [Disambiguation](https://en.wikipedia.org/wiki/Wikipedia:Disambiguation)
##### [Bash Reference Manual](https://www.gnu.org/software/bash/manual/html_node/index.html)

---

```bash

wget https://github.com/cncjs/cncjs/releases/download/v1.10.3/cncjs-app-1.10.3-linux-x86_64.AppImage

```

* ## [CncJS Desktop App](https://github.com/cncjs/cncjs/releases/download/v1.10.3/cncjs-app-1.10.3-linux-x86_64.AppImage)
##### [releases](https://github.com/cncjs/cncjs/releases)
---
### [Cncjs Desktop AppImage](https://cnc.js.org/docs/desktop-app/)

* Start Cncjs with Pm2 advanced process manager
<img src="https://github.com/universalbit-dev/cncjs/blob/master/gif/cncjs.gif" width="auto"></img>

---
---


##### Development:
* ##### [cncjs Github repository](https://github.com/universalbit-dev/cncjs)
* ##### [cncjs NPM package](https://www.npmjs.com/package/cncjs)
CODE HAS VULNERABILITIES AND ERRORS
...is a news? [Npm Auditing](https://docs.npmjs.com/auditing-package-dependencies-for-security-vulnerabilities)

* ##### Npm Package for NodeJs App

# CNCjs [![Backers on Open Collective](https://opencollective.com/cncjs/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/cncjs/sponsors/badge.svg)](#sponsors) [![Travis CI Build Status](https://travis-ci.org/cncjs/cncjs.svg)](https://travis-ci.org/cncjs/cncjs) [![AppVeyor Build status](https://ci.appveyor.com/api/projects/status/qxx53wq32w3edule?svg=true)](https://ci.appveyor.com/project/cheton/cncjs) [![Coverage Status](https://coveralls.io/repos/github/cncjs/cncjs/badge.svg?branch=master)](https://coveralls.io/github/cncjs/cncjs?branch=master)

[![NPM](https://nodei.co/npm/cncjs.png?downloads=true&stars=true)](https://www.npmjs.com/package/cncjs)
Expand Down Expand Up @@ -74,34 +106,34 @@ For a more complete introduction, see the [Introduction](https://github.com/cncj
| :------ |:--------------- |
| <= 10 | Not supported |
| 12 | Supported |
| >= 14 | Recommended |
| >= 14 | Supported |
| >= 20(LTS) | Recommended |

## Getting Started

### Node.js Installation

Node.js 14 or higher is recommended. You can install [Node Version Manager](https://github.com/creationix/nvm) to manage multiple Node.js versions. If you have `git` installed, just clone the `nvm` repo, and check out the latest version:
## Getting Started
Required Packages:
```
git clone https://github.com/creationix/nvm.git ~/.nvm
cd ~/.nvm
git checkout `git describe --abbrev=0 --tags`
cd ..
. ~/.nvm/nvm.sh
sudo apt install curl git build-essential
```

Add these lines to your `~/.bash_profile`, `~/.bashrc`, or `~/.profile` file to have it automatically sourced upon login:
```bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
##### NVM Node Version Manager:
nvm allows you to quickly install and use different versions of node via the command line.
```
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
```

Once installed, you can select Node.js versions with:
##### [NodeJs 20](https://nodejs.org/en)
```
nvm install 20
nvm use 20
```
Add these lines to your ~/.bash_profile, ~/.bashrc, or ~/.profile file to have it automatically sourced upon login:
[?](https://github.com/nvm-sh/nvm#install--update-script)
```
nvm install 14
nvm use 14
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
```

It's also recommended that you upgrade npm to the latest version. To upgrade, run:
upgrade npm to the latest version. To upgrade, run:
```
npm install npm@latest -g
```
Expand All @@ -115,7 +147,7 @@ npm install -g cncjs

If you're going to use sudo or root to install cncjs, you need to specify the `--unsafe-perm` option to run npm as the root account.
```
sudo npm install --unsafe-perm -g cncjs
npm install --unsafe-perm -g cncjs
```

Check out [https://github.com/cncjs/cncjs/wiki/Installation](https://github.com/cncjs/cncjs/wiki/Installation) for other installation methods.
Expand All @@ -124,6 +156,17 @@ Check out [https://github.com/cncjs/cncjs/wiki/Installation](https://github.com/

Run `npm install -g cncjs@latest` to install the latest version. To determine the version, use `cncjs -V`.


##### Run Cncjs (no default port):
```
cncjs -p 8001
```
##### Browser URL:
```
http://localhost:8001
```


### Usage

Run `cncjs` to start the server, and visit `http://yourhostname:8000/` to view the web interface. Pass `--help` to `cncjs` for more options.
Expand Down Expand Up @@ -181,11 +224,6 @@ Instead of passing command line options for `--watch-directory`, `--access-token
}
```

To troubleshoot issues, run:
```
cncjs -vvv
```

### Configuration File

The configuration file <b>.cncrc</b> contains settings that are equivalent to the cncjs command-line options. The configuration file is stored in user's home directory. To find out the actual location of the home directory, do the following:
Expand Down Expand Up @@ -330,8 +368,8 @@ Support this project by becoming a sponsor. Your logo will show up here with a l
<a href="https://opencollective.com/cncjs/sponsor/8/website" target="_blank"><img src="https://opencollective.com/cncjs/sponsor/8/avatar.svg"></a>
<a href="https://opencollective.com/cncjs/sponsor/9/website" target="_blank"><img src="https://opencollective.com/cncjs/sponsor/9/avatar.svg"></a>



## License

Licensed under the [MIT License](https://raw.githubusercontent.com/cncjs/cncjs/master/LICENSE).
* [MIT License](https://raw.githubusercontent.com/cncjs/cncjs/master/LICENSE).
* [Bash Reference Manual](https://www.gnu.org/software/bash/manual/html_node/index.html)
* [Support UniversalBit Project](https://github.com/universalbit-dev/universalbit-dev/tree/main/support)
5 changes: 5 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
title: cncjs
theme: jekyll-theme-minimal
description: keep calm and make something of amazing
logo: docs/assets/images/logo.png
show_downloads: false
Binary file added gif/cncjs.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions gif/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@