-
-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: changed all db:pushs to db:migrates
- Loading branch information
1 parent
4673032
commit 50b6701
Showing
3 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,10 +20,10 @@ read -p "Copy and past your auth callback url here: " URL | |
|
||
echo "- Nice, now open two terminals and run the following commands: " | ||
echo "- Terminal 1) - docker-compose up " | ||
echo "- Terminal 2) - npm db:push, npm db:seed, npm run dev " | ||
echo "- Terminal 2) - npm db:migrate, npm db:seed, npm run dev " | ||
|
||
# Create .env file | ||
echo "DATABASE_URL=postgresql://postgres:[email protected]:5432/postgres" > .env | ||
echo "GITHUB_ID=$GITHUB_ID" >> .env | ||
echo "GITHUB_SECRET=$GITHUB_SECRET" >> .env | ||
echo "NEXTAUTH_URL=$URL" >> .env | ||
echo "NEXTAUTH_URL=$URL" >> .env |