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

Packaging #16

Merged
merged 17 commits into from
Feb 22, 2024
Merged

Packaging #16

merged 17 commits into from
Feb 22, 2024

Conversation

angrybayblade
Copy link
Contributor

No description provided.

@angrybayblade angrybayblade changed the base branch from feat/delete-deployment to feat/integration February 21, 2024 10:35
@angrybayblade angrybayblade changed the title WIP: Packaging Packaging Feb 22, 2024
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

operate directory needs to be at the root level for pip install git+... to work.

'-m',
'pip',
'install',
'git+https://github.com/valory-xyz/olas-operate-app.git@a2d203ad2d6c716a66a8d184ab77909b5ab22a85#egg=operate'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the latest stable commit for operate backend, we will install from main once all of this work is merged

@@ -1,5 +1,2 @@

FORK_URL=
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@truemiller we need a generic name, HARDHAT_GNOSIS_RPC is specific to gnosis

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@truemiller try icon

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added to a ticket

}
}

async function setupUbuntu() {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs to be tested on ubuntu

@@ -47,7 +47,7 @@ class App(Resource):
def __init__(self, home: Path) -> None:
"""Initialize object."""
super().__init__()
self._path = home or (Path.cwd() / OPERATE)
self._path = (home or (Path.home() / OPERATE)).resolve()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dvilelaf @truemiller From now on the app directory will be in the user folder unless specified explicitly

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Taken from hardhat fork

@@ -0,0 +1,22 @@
"""Fund an address on gnosis fork."""
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use it fund your agents, safe and master key. just run python scrips/fund.py 0xaddress

Comment on lines +36 to +51
"build": {
"appId": "com.olas.operate",
"productName": "Operate",
"directories": {
"output": "dist"
},
"win": {
"target": "nsis"
},
"mac": {
"target": "dmg"
},
"linux": {
"target": "AppImage"
}
},
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Electron builder config

Comment on lines +11 to +20
"electron-sudo": "^4.0.12",
"ethers": "5.7.2",
"ethers-multicall": "^0.2.3",
"lodash": "^4.17.21",
"next": "^14.1.0",
"ps-tree": "^1.2.0",
"react": "^18",
"react-dom": "^18",
"swr": "^2.2.4",
"usehooks-ts": "^2.14.0"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@truemiller we need to include the frontend app dependencies in the electron build, or the frontend won't work. It seems we might have to merge electron and frontend projects to reduce the dependency reuse

@angrybayblade angrybayblade merged commit 5c3ca9a into feat/integration Feb 22, 2024
2 checks passed
@truemiller truemiller deleted the feat/packaging branch February 23, 2024 14:45
0xArdi pushed a commit that referenced this pull request Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants