-
Notifications
You must be signed in to change notification settings - Fork 27
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
Use npm
in favor of yarn
#63
Closed
Closed
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
fc4716c
Remove lock files from project `.gitignore`
vintidui 0958327
Add `appdmg` dependency for macOS builds
vintidui 1612409
Add `package-lock.json` and remove `yarn.lock`
vintidui bc50888
Replace `yarn` with `npm`
vintidui 323a39b
Remove `yarn` references from `.gitignore`
vintidui 4357060
Remove unnecessary `preinstall` script
vintidui b7f757e
Remove unnecessary setup files
vintidui 190af06
Update README
vintidui File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,34 @@ | ||
# Morhpheus Node Setup | ||
|
||
Morhpheus Node Setup | ||
## Prerequisites | ||
|
||
- Node.js: https://nodejs.org/en/download | ||
|
||
## Running development environment | ||
|
||
Windows OS Systems | ||
1. Install dependencies | ||
In the root directory of the Morpheus client local repository, type the following command: `npm install` | ||
|
||
Prerequisites | ||
2. Run the Morpheus client app | ||
Then type the following command: `npm run start` | ||
|
||
Node.js for Windows | ||
Follow the instructions listed here for Node.js setup: | ||
• https://phoenixnap.com/kb/install-node-js-npm-on-windows | ||
## Building executable app | ||
|
||
Yarn for Windows | ||
Follow the instructions listed here for Yarn Package Manager setup: | ||
• https://phoenixnap.com/kb/yarn-windows | ||
1. Install dependencies | ||
In the root directory of the Morpheus client local repository, type the following command: `npm install` | ||
|
||
1. Create Project Directory | ||
Open a Windows command prompt and create a project folder and put your command line at that directory | ||
|
||
I.e. Presume the starting directory is: C:\projects | ||
2. Build the Morpheus client app | ||
Then type the following command: `npm run make` | ||
|
||
mkdir c:\projects | ||
3. Application runtime and testing | ||
Upon successful build, find the Morpheus client app executable for your operating system in the following directory: | ||
|
||
cd /d c:\projects | ||
|
||
2. Morpheus client Workspace Setup | ||
From a command line at the project directory (created in #1), type: | ||
`<PATH_TO_LOCAL_MORPHEUS_CLIENT_REPO>/out` | ||
|
||
git clone https://github.com/MorpheusAIs/Lite-Client.git | ||
## Notes | ||
|
||
3. Project Environment Setup | ||
Set up the modules and components using the Yarn Package Manager | ||
• Additional run, test, and build scripts are located in the `package.json` configuration file in the root directory of the Morpheus client repo | ||
|
||
Navigate to the command line of the Morpheus client local repository, then type the following command: | ||
|
||
yarn | ||
|
||
This will set up all node modules needed. | ||
|
||
4. Build the Morpheus Client App | ||
From a command line at the root directory of the local Morpheus Client repo, build the client executable, type: | ||
|
||
yarn make | ||
|
||
|
||
6. Application Runtime and Testing | ||
Upon successful build, run the Morpheus client app by clicking the following executable or start from the command line: | ||
|
||
<PATH-TO-LOCAL-MORPHEUS-CLIENT-REPO>\Lite-Client-main\out\morpheus-win32-x64.exe | ||
|
||
|
||
|
||
NOTES | ||
|
||
• Additional Run, Test, and Build scripts are located in the package.json configuration file in the root directory of the Morpheus client repo | ||
|
||
• Please visit https://mor.software/ to sign up as a developer to be rewarded for your merged contributions. Submit an MRC to get support for feature and improvement ideas. | ||
|
||
• https://mor.software/ is also the place to build, submit, deploy, and manage all of your Smart Agents. | ||
|
||
• Be sure to complete these steps from an account with administrative access to the host machine | ||
|
||
• The initial start of the application may take extended time to start due to the initial configuration and run of the application | ||
|
||
|
||
|
||
### Windows installer instructions (Doc format) | ||
[Google Doc](https://docs.google.com/document/d/1YjGAlTzglct8aNEqZAUeYD7SAmOETtmv/edit?usp=sharing&ouid=118042204753952761929&rtpof=true&sd=true) | ||
• Please visit https://mor.software/ to sign up as a developer to be rewarded for your merged contributions. Submit an MRC to get support for feature and improvement ideas. | ||
|
||
• https://mor.software/ is also the place to build, submit, deploy, and manage all of your Smart Agents. |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The existing README only mentions Windows when the instructions are similar for all operating systems. These changes generalize the README so it's apparent that Morpheus works for more than only Windows.