-
Notifications
You must be signed in to change notification settings - Fork 195
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
deploy-to-nixos ihp-app
for a project without Migration
#1862
Comments
Does your app have a migration? If not, can you run |
You could also try to create an empty migration file as a workaround btw |
I made a few attempts to create a dummy migration, but it gives the same error. |
Did you run |
@mpscholten Success, with the dummy migration file, I am able to proceed further, now I can tackle the SSH connectivity, but that's a different topic. Thanks! |
After allowing the SSH connection, the same, well similar error returns back at a different phase.
< -- opening SSH port at the security group config -- >
module Application.Migration20231120 where
import IHP.Migration
import IHP.ModelSupport
import Database.PostgreSQL.Simple
instance Migration where
up = pure () -- No operation on up migration
down = pure () -- No operation on down migration
With a blank Migration file, I have exactly the same error. |
https://github.com/amitaibu/ihp-landing-page/pull/33/files - equivalent on an OSS repo, same error. |
Likely I should provide a proper dummy Migration that can be initialized as a service. |
@AronNovak i think this is fix, right? |
I am experimenting with https://github.com/digitallyinduced/ihp/blob/master/Guide/deployment.markdown?rgh-link-date=2023-11-06T20%3A07%3A52Z#deploying-with-deploy-to-nixos
After #1861 , I could configure my
flake.nix
correctly, but then, there's this error:Is it trivially possible to get rid of
migrate.service
fordeploy-to-nixos ihp-app
?The text was updated successfully, but these errors were encountered: