-
Notifications
You must be signed in to change notification settings - Fork 141
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
Dev/Production Flavours DFX #689
Comments
That makes total sense. This would be a great question for https://github.com/dfinity/sdk. @ericswanson-dfinity thoughts on this? |
@7flash @nmattia I ran into the same problem. Just place a second project with Internet Identity outside your development project:
The local development process looks like this:
|
In nns-dapp we cannot deploy to mainnet, we have to make a proposal, so we don't have the issue. That said, dfx.json should in theory list the canisters in a project, so my wish is to have a dfx.json that includes just the canisters in the project and a separate dfx.json with supporting canisters used for testing. This can be done as @dennyweiss suggested, or as follows:
|
The use of "remote canisters" might be a good fit here: https://github.com/dfinity/sdk/blob/master/CHANGELOG.adoc#feat-remote-canister-support |
Oh nice, didn't know this was live! @7flash that's definitely the correct solution |
@bitdivine I think you recently did some work to deploy Internet identity from dfx, is that correct? @ericswanson-dfinity would that be the solution here? |
That work is pretty specific to some short-term needs for sns / nns local deployment. For other projects, I still recommend the remote canister configuration. |
Found a nice writeup from David on https://papy.rs/ |
When I deploy my canisters locally with
dfx deploy
it's deploying II canister too.. but when I deploy to production I don't want to deploy II canister.. currently I have to either manually remove "internet_identity" field from dfx.json either deploy each canister manually "dfx deploy app_assets && dfx deploy app".. ideally I would be able to configure a specific canister to be ignored in production envMy current dfx.json
The text was updated successfully, but these errors were encountered: