Skip to content

Commit

Permalink
#175 fix dev script
Browse files Browse the repository at this point in the history
  • Loading branch information
ukorvl committed Aug 5, 2024
1 parent 4feb957 commit ebbfd19
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
5 changes: 3 additions & 2 deletions dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,12 @@ echo Token: $token
# check exists .env
if [ ! -f site/.env ]; then
echo "create .env for site"
echo "STRAPI_API_URL=http://localhost:1337/api" > site/.env
echo "STRAPI_URL=http://localhost:1337" > site/.env
echo "STRAPI_API_URL=http://127.0.0.1:1337/api" >> site/.env
echo "STRAPI_URL=http://127.0.0.1:1337" >> site/.env
# add token
echo "STRAPI_API_KEY=$token" >> site/.env
echo "NEXT_PUBLIC_BASE_URL=http://localhost:3000" >> site/.env
echo "FRESHTEAM_API_URL=http://nil.freshteam.com" >> site/.env
fi
npm run build --prefix site

Expand Down
12 changes: 6 additions & 6 deletions site/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ebbfd19

Please sign in to comment.