-
Notifications
You must be signed in to change notification settings - Fork 2
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
Packaging #16
Conversation
operate/__init__.py
Outdated
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.
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' |
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.
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= |
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.
@truemiller we need a generic name, HARDHAT_GNOSIS_RPC
is specific to gnosis
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.
@truemiller try icon
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.
added to a ticket
} | ||
} | ||
|
||
async function setupUbuntu() { |
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.
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() |
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.
@dvilelaf @truemiller From now on the app directory will be in the user folder unless specified explicitly
scripts/keys/gnosis.txt
Outdated
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.
Taken from hardhat fork
@@ -0,0 +1,22 @@ | |||
"""Fund an address on gnosis fork.""" |
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.
You can use it fund your agents, safe and master key. just run python scrips/fund.py 0xaddress
"build": { | ||
"appId": "com.olas.operate", | ||
"productName": "Operate", | ||
"directories": { | ||
"output": "dist" | ||
}, | ||
"win": { | ||
"target": "nsis" | ||
}, | ||
"mac": { | ||
"target": "dmg" | ||
}, | ||
"linux": { | ||
"target": "AppImage" | ||
} | ||
}, |
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.
Electron builder config
"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" |
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.
@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
No description provided.