NERDDISCO commited on
Commit
a1a8be1
β€’
1 Parent(s): 276d604

feat: renamed repo to "nextjs-hf-spaces"

Browse files
.github/workflows/sync_to_hf_spaces.yml CHANGED
@@ -6,7 +6,7 @@ on:
6
 
7
  env:
8
  HF_USERNAME: failfast
9
- HF_SPACE_NAME: nextjs-docker-starter
10
 
11
  jobs:
12
  sync-to-space:
 
6
 
7
  env:
8
  HF_USERNAME: failfast
9
+ HF_SPACE_NAME: nextjs-hf-spaces
10
 
11
  jobs:
12
  sync-to-space:
README.md CHANGED
@@ -8,9 +8,9 @@ pinned: false
8
  license: agpl-3.0
9
  app_port: 3000
10
  ---
11
- <h1 align="center">nextjs-docker-starter</h1>
12
 
13
- This starter can be used to run [Next.js](https://nextjs.org/) using [Docker](https://huggingface.co/docs/hub/spaces-sdks-docker) in πŸ€— [Spaces](https://huggingface.co/spaces).
14
 
15
  <!-- toc -->
16
 
@@ -34,9 +34,9 @@ This starter can be used to run [Next.js](https://nextjs.org/) using [Docker](ht
34
  To make sure that everything is working out, you can run your container locally:
35
 
36
  1. [Install Docker](https://docs.docker.com/get-docker/) on your machine
37
- 2. Go into the `nextjs-docker-starter` folder
38
- 3. Build your Docker image: `docker build -t nextjs-docker-starter .`.
39
- 4. Run your Docker container: `docker run -p 3000:3000 nextjs-docker-starter`.
40
  5. Open the app via [localhost:3000](http://localhost:3000)
41
 
42
  ## Dockerize an existing project
@@ -63,7 +63,7 @@ If you want to use all the features for collaborative development on GitHub, but
63
  2. Create a [Github secret](https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets-for-a-repository) named `HF_TOKEN` and use an [access token from Hugging Face](https://huggingface.co/settings/tokens) as its value (you must be logged in to do this)
64
  3. Update the workflow [sync_to_hf_spaces.yml](.github/workflows/sync_to_hf_spaces.yml)
65
  - Configure `HF_USERNAME`: Replace `failfast` with the name of your πŸ€— user account or your πŸ€— organization
66
- - Configure `HF_SPACE_NAME`: Replace `nextjs-docker-starter` with the name of your πŸ€— space
67
  4. Push the code into your repo on GitHub
68
 
69
  This should force push changes in the **main** branch from GitHub into your πŸ€— space.
 
8
  license: agpl-3.0
9
  app_port: 3000
10
  ---
11
+ <h1 align="center">Next.js on πŸ€— Spaces</h1>
12
 
13
+ This starter can be used to run [Next.js](https://nextjs.org/) using [Docker](https://huggingface.co/docs/hub/spaces-sdks-docker) on πŸ€— [Spaces](https://huggingface.co/spaces).
14
 
15
  <!-- toc -->
16
 
 
34
  To make sure that everything is working out, you can run your container locally:
35
 
36
  1. [Install Docker](https://docs.docker.com/get-docker/) on your machine
37
+ 2. Go into the `nextjs-hf-spaces` folder
38
+ 3. Build your Docker image: `docker build -t nextjs-hf-spaces .`.
39
+ 4. Run your Docker container: `docker run -p 3000:3000 nextjs-hf-spaces`.
40
  5. Open the app via [localhost:3000](http://localhost:3000)
41
 
42
  ## Dockerize an existing project
 
63
  2. Create a [Github secret](https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets-for-a-repository) named `HF_TOKEN` and use an [access token from Hugging Face](https://huggingface.co/settings/tokens) as its value (you must be logged in to do this)
64
  3. Update the workflow [sync_to_hf_spaces.yml](.github/workflows/sync_to_hf_spaces.yml)
65
  - Configure `HF_USERNAME`: Replace `failfast` with the name of your πŸ€— user account or your πŸ€— organization
66
+ - Configure `HF_SPACE_NAME`: Replace `nextjs-hf-spaces` with the name of your πŸ€— space
67
  4. Push the code into your repo on GitHub
68
 
69
  This should force push changes in the **main** branch from GitHub into your πŸ€— space.