Skip to content

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ademilter committed Nov 8, 2022
1 parent dedccff commit a797e46
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ the [old version](https://github.com/vercel/next.js/tree/canary/examples/with-re

## Docs

1) [Set up project](#set-up-project)
2) [Configuring Environment Variables](#configuring-environment-variables)
3) [Set up Database](#authentication)
4) [Set up user authentication with next-auth](#authentication)
5) [Run Your Project](#set-up-admin)
6) [Let's make ourselves admin](#set-up-admin)
7) [Deploy to Vercel](#deploy-to-vercel)
1) [Set up project](#1-set-up-project)
2) [Configuring Environment Variables](#2-configuring-environment-variables)
3) [Set up Database](#3-set-up-upstash-redis)
4) [Set up user authentication with next-auth](#4-set-up-user-authentication-with-next-auth)
5) [Run Your Project](#5-run-your-project)
6) [Let's make ourselves admin](#6-lets-make-ourselves-admin)
7) [Deploy to Vercel](#7-deploy-to-vercel)

## 1) Set up project

Expand Down Expand Up @@ -53,6 +53,8 @@ cp .env.local.example .env.local
Go to the [Upstash Console](https://console.upstash.com/) and create a new
database

#### Upstash environment

`UPSTASH_REDIS_REST_URL` and `UPSTASH_REDIS_REST_TOKEN` find the variables in
the database details page in Upstash Console.

Expand Down Expand Up @@ -118,3 +120,9 @@ application and sign-in yourself. You can find your own user id when you create
the first content.

<img src="https://github.com/upstash/roadmap/blob/main/public/doc/admin.png" width="600">

## 7) Deploy to Vercel

First, create a new Github repository and push your local changes.

[Deploy it to Vercel](https://vercel.com/docs/concepts/git#deploying-a-git-repository). Ensure you add all [Environment Variables](https://vercel.com/docs/concepts/projects/environment-variables) in your .env file to Vercel during the import process.

1 comment on commit a797e46

@vercel
Copy link

@vercel vercel bot commented on a797e46 Nov 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

roadmap – ./

roadmap-upstash.vercel.app
roadmap-git-main-upstash.vercel.app
roadmap.upstash.com

Please sign in to comment.