Back

Where do I put my Init SDK code for a web app?

  • 0
  • Web
MortalHordeWarrior
14 Mar, 2023, 20:00

but there steps in between that im lost on lol

TL;DR
User is asking for help with using Visual Studio Code (VS Code) to edit their Appwrite files in a web app. They are unsure of how to proceed after downloading VS Code. They mention using FileZilla to view their files on a VPS. They are also unsure of where to put their Init SDK code. They mention watching a video but getting lost. They are not a programmer but looking for guidance. They ask for an example repository for better understanding. Solution: Provide guidance on using VS Code to edit files on the VPS and suggest putting the Init SDK code in an HTML or JS file.
MortalHordeWarrior
14 Mar, 2023, 20:01

any help would be much appreciated

joeyouss
14 Mar, 2023, 20:02

It’s totally fine to ask questions, can you show me the error you’re getting?

MortalHordeWarrior
14 Mar, 2023, 20:03
MortalHordeWarrior
14 Mar, 2023, 20:03

i pasted to Init SDK code into my VPS terminal. Im assuming this is the wrong spot to put it?

MortalHordeWarrior
14 Mar, 2023, 20:04

from the research ive been doing, i need to put this Init SDK code into an HTML or JS file?

joeyouss
14 Mar, 2023, 20:06
joeyouss
14 Mar, 2023, 20:06

let me fetch an example repo for you so you can see it better

MortalHordeWarrior
14 Mar, 2023, 20:07

thanks, i was watching that video but i got lost. I downloaded VS code editor

MortalHordeWarrior
14 Mar, 2023, 20:07

im just confused how do I use VS code to make edits on my VPS?

MortalHordeWarrior
14 Mar, 2023, 20:07

im not a programmer at all lol

MortalHordeWarrior
14 Mar, 2023, 20:07

sorry if this is too much to ask

joeyouss
14 Mar, 2023, 20:08

its totally okay, you don't need to be sorry at all , we are here to help you and kudos for getting started <:appwritepeepo:902865250427215882> give me a moment while i fetch a working example repository for you so you can understand it well

joeyouss
14 Mar, 2023, 20:09

hmm, you mean the Appwrite server running in your localhost? or do you have a server set up by yourself?

MortalHordeWarrior
14 Mar, 2023, 20:10

i have a debian VPS with Vultr that I used to get appwrite running

MortalHordeWarrior
14 Mar, 2023, 20:10

for that video you linked, its the 1 minute mark where i get lost.

joeyouss
14 Mar, 2023, 20:10

Ah ok

joeyouss
14 Mar, 2023, 20:12

also, any preferred language you might want to see our examples in so you understand better?

MortalHordeWarrior
14 Mar, 2023, 20:13

english thank you

MortalHordeWarrior
14 Mar, 2023, 20:14

i use filezila to look at my files and this is all i see i cant find anything relevant in there

joeyouss
14 Mar, 2023, 20:15

you have the code in vscode, right?

MortalHordeWarrior
14 Mar, 2023, 20:16

i do not, i was following along with the video and downloaded vscode but that is it. i dont know what to do from there

MortalHordeWarrior
14 Mar, 2023, 20:16

how to use vscode to edit my appwrite files, thats where im stuck too

joeyouss
14 Mar, 2023, 20:23

gotcha, just DMed you.

joeyouss
14 Mar, 2023, 20:56

Just a heads-up, we just discussed initial steps of Appwrite installation on a windows machine and we will debug it as and when errors occur (if they do).

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more