mustafa-tariqk / mindscape

Experience the truth of the trip
https://research.cs.queensu.ca/home/cisc498/index.html
MIT License
16 stars 0 forks source link

Deployment #44

Closed mustafa-tariqk closed 6 months ago

mustafa-tariqk commented 6 months ago

Is your feature request related to a problem? Please describe. We have a digital ocean instance up, but nothing deployed on there. Creating a github action to automatically do this will be beneficial.

Describe the solution you'd like High level overview:

  1. ssh into droplet
  2. clone repo
  3. docker-compose up -d

Describe alternatives you've considered I've thought about using a docker registry as a staging area but honestly this approach was chosen because I am a lazy person.

Additional context wish me luck i have to deal with handling ssh keys and secrets.

mustafa-tariqk commented 6 months ago

step 1, make digital ocean droplet/whatever vps you like step 2, make ssh key with ssh-keygen -t rsa -b 4096, add deploy key to repo.

will continue as i go on

mustafa-tariqk commented 6 months ago

gotta handle https stuff for the digital ocean instance to allow for authentication