Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Commit

Permalink
Merge pull request #139 from latitudegames/env-updates
Browse files Browse the repository at this point in the history
Env updates
  • Loading branch information
Sean Gillespie authored Dec 9, 2021
2 parents 5b29b72 + 8f9376b commit fe26faa
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 7 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

# Dependencies
node_modules
.env
build
.DS_Store
.vscode/chrome
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Thoth is a multishot system builder. It leverages a visual coding style interface to allows game designers and developers to rapidly create powerful natural language systems and prototype games.

## Setup
## Client Setup

1. Generate a [Personal Access Token](https://github.com/settings/tokens) on Github which will allow you to install private latitude packages. Make sure you check the `write:packages` option. (`read:packages` will suffice as well if you aren't planning on publishing new versions of @latitudegames/thoth-core)
1. In your `~/.bashrc`, append the line `export NPM_TOKEN=YourTokenGoesHere`, and restart your terminal (you can run `source ~/.bashrc` to do so)
Expand All @@ -11,6 +11,11 @@ Thoth is a multishot system builder. It leverages a visual coding style interfac
1. Run `yarn install` to install project dependencies
1. Run `yarn start` to start the @thoth/client app

## Core Local Setup

1. Core the contents of `core/.env.example` to `core/.env`
1. Step 2 in Monorepo Development Setup

## Monorepo Development

Within the yarn workspace we need to be mindful of which version of the shared package @latitudegames/thoth-core we are including in our local development setup and our deploys to Netlify.
Expand Down
4 changes: 4 additions & 0 deletions client/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# REACT_APP_API_URL=https://api.latitude.io
# REACT_APP_API_URL=https://latitude-api-staging.herokuapp.com
REACT_APP_API_URL=http://localhost:8000
EXTEND_ESLINT = true
3 changes: 0 additions & 3 deletions client/.env.example

This file was deleted.

1 change: 0 additions & 1 deletion client/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
node_modules
.env
build
.DS_Store
dist
4 changes: 4 additions & 0 deletions core/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# REACT_APP_API_URL=https://latitude-api-staging.herokuapp.com
# REACT_APP_API_URL=https://api.latitude.io
REACT_APP_API_URL=http://localhost:8000
EXTEND_ESLINT = true
3 changes: 2 additions & 1 deletion core/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
dist
src/plugins/areaPlugin/style.css.d.ts
src/plugins/areaPlugin/style.css.d.ts
.env

0 comments on commit fe26faa

Please sign in to comment.