Skip to content

Commit

Permalink
Fixing deployment issue (#417)
Browse files Browse the repository at this point in the history
* Fetching data from Space-Track, fixing some bugs, adding cron tasks for updating database with tool functions

* Orbital chart done, using backend data without refetching from the backend server

* Clean code of orbitalDataGraph, restore strapi files, adding cronTask to the 3rd of each month.

* Adding package*.json files

* ESLint fixed

* Updating strapi env

* Reseting frontend/package.json

* Prettier checked

* Updating for ESlint check

* Adding backend env file
  • Loading branch information
Graulitard committed Jul 24, 2024
1 parent 3ad2de8 commit a6f2865
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions backend/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# All these should be set in the GitHub Repository actions and secrets at https://github.com/NTNU-SmallSat-Lab/outreach-website/settings/variables/actions
# Any changes done here will not be reflected in the production environment
# All variables named toBeGenerated should be generated with the command `openssl rand -base64 32`
HOST=0.0.0.0
PORT=1337
STRAPI_URL="https://hypso.space/strapi/"
APP_KEYS="LlikgA/Dce0U0qy3b3jp5FwdipVsgLrUlbC4EiJczsg=,rweQcOIfQvkiQAcOPjRujpitslVAEesx4fkT09qMhNY="
API_TOKEN_SALT="Nh97EoxmLk6zqzG5HXn/9NvpPHeTNs8Sz2XHIXGry1A="
ADMIN_JWT_SECRET="jqFr2Ocz4j7xqK/wJMdfq+QSIlEnIuNchX3l0PD9bqk="
TRANSFER_TOKEN_SALT="3JKja5Orq7jWr+HOfF/VKLgL9o2rvgX14NnOfskzo/k="
JWT_SECRET="VHe12SBqQRQcnIAhUMbMfCbBLj8EvIkmcGRO7FZKMPM="

DATABASE_CLIENT=sqlite
DATABASE_FILENAME=dbLocation.sqlite # in dev, will use backend root dir, in prod, will be from server os root dir so should be /var/data/strapi.db or similar

0 comments on commit a6f2865

Please sign in to comment.