Skip to content

Commit

Permalink
Merge pull request #186 from bento-platform/remove-server-env
Browse files Browse the repository at this point in the history
removed example.server.env and its references
  • Loading branch information
SanjeevLakhwani authored Sep 19, 2024
2 parents f0855a7 + c5597c4 commit f34e7cd
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 30 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
build
dist
node_modules
server.env
www
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
client.env
server.env

build/*
node_modules/*
dist/*
.DS_Store
.prettierrc
.idea/
.vscode/
www/
Expand Down
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,13 @@ added at a later time.

## Getting started:

First, run
```bash
cp etc/example.server.env server.env
```
and modify the contents according to your needs.

If needed, install the relevant Go dependencies:

```bash
go mod download
```

Finally, install the NPM dependencies and run the build process:
Install the NPM dependencies and run the build process:
```bash
npm install
npm run gobuild
Expand Down
5 changes: 0 additions & 5 deletions buildandrun.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ mkdir -p build/www
# build react bundle.js
npm run build-dev

# - load (export) .env
set -a
. server.env
set +a

# - run
export BENTO_PUBLIC_STATIC_FILES_PATH="$PWD/build/www"
go run main.go
13 changes: 0 additions & 13 deletions etc/example.server.env

This file was deleted.

0 comments on commit f34e7cd

Please sign in to comment.