Rank 2: Process
How do I do that please?
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 2: Process
How do I do that please?
Rank 2: Process
Nope, I didn't. I created a new docker image for this project so this is a new image and I didn't run any migration command
you must have had an old installation on the machine 🧐
Rank 2: Process
Yes I did have an old installation. I deleted it tho
Rank 2: Process
The container on docker
deleting the docker cmpose files or containers does not delete everything as data is persisted in volumes
if you're not concerned about your data, you can wipe your old instance. see https://appwrite.io/docs/advanced/self-hosting#uninstall
Rank 2: Process
No I do not. I already deleted the container, so where should I run this command?
The two instances were done in different projects.
I was told I cannot have the same instance running the two projects so I deleted the old one
so what's in your folder now? and what's the folder name?
Rank 2: Process
Like I mentioned, I had a previous instance in a different folder which was for my frontend built with react.js
I then created a new instance in another folder for appwrite functions because I wanted to test my functions locally before pushing to prod which will use appwrite cloud.
The instance I deleted was the one for the frontend but it still has the docker-compose.yml file and appwrite folder there.
The two folders are:
Frontend - memora
Functions - memora-cloud-function
go into that "deleted" instance's appwrite folder and run the command there (this will wipe the data)
Rank 2: Process
Okay
Rank 2: Process
So how would I now connect both folders to the single instance?
you should only have 1 appwrite folder. delete the other one
Rank 2: Process
per project?
no. per machine
Rank 2: Process
If I want to create another project that uses appwrite, how would I go about it?
Rank 2: Process
Okayy, I see
Rank 2: Process
So the local instance works like the cloud?
Rank 2: Process
One instance but with multiple projects and functions?
Rank 2: Process
I have done this, let me try signing in again
Rank 2: Process
Is there anything I should do before signing in?
to the Appwrite Console? create an account
Rank 2: Process
I am signed in locally now. Thank you
Rank 2: Process
Is there a way I can copy a project in appwrite cloud locally so I don't have to set up from scratch?