jrosell commited on
Commit
7179bab
·
1 Parent(s): 0e3b249
Files changed (2) hide show
  1. README.md +13 -1
  2. deploy_hf.sh +1 -1
README.md CHANGED
@@ -24,7 +24,7 @@ When you push a repository to a Hugging Face Spaces with the option to deploy Do
24
 
25
  Try the demo here:
26
 
27
- * Direct URL to the deployed app: https://jrosell-ambhtmx-crud.hf.space/
28
  * Space URL: https://huggingface.co/spaces/jrosell/ambhtmx.card3d
29
 
30
 
@@ -34,7 +34,19 @@ If you have this repo with git enabled with hf remote, you can run:
34
  bash deploy_hf.sh
35
  ```
36
 
 
37
 
 
 
 
 
 
 
 
 
 
 
 
38
 
39
  ### Runing the example in Docker
40
 
 
24
 
25
  Try the demo here:
26
 
27
+ * Direct URL to the deployed app: https://jrosell-ambhtmx-card3d.hf.space/
28
  * Space URL: https://huggingface.co/spaces/jrosell/ambhtmx.card3d
29
 
30
 
 
34
  bash deploy_hf.sh
35
  ```
36
 
37
+ For example, you can adapt this for your gh and hf repos:
38
 
39
+ ```
40
+ git init
41
+ git add -A
42
+ git commit -m "My changes"
43
+ git remote add origin [email protected]:jrosell/ambhmtx.card3d.git
44
+ git remote add gh [email protected]:jrosell/ambhmtx.card3d.git
45
+ git remote add hf [email protected]:spaces/jrosell/ambhtmx.card3d
46
+ git remote set-url --add --push origin [email protected]:jrosell/ambhtmx.card3d.git
47
+ git push --set-upstream gh main
48
+ git push --set-upstream hf main
49
+ ```
50
 
51
  ### Runing the example in Docker
52
 
deploy_hf.sh CHANGED
@@ -1,4 +1,4 @@
1
  echo date > last_depoy.txt
2
  git add last_depoy.txt
3
  git commit -m "deploy"
4
- git push hf main --force
 
1
  echo date > last_depoy.txt
2
  git add last_depoy.txt
3
  git commit -m "deploy"
4
+ git push --set-upstream hf main