-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove keytar * optional dependency * Heroku build * yarn * try web directory * static routes * Try CDN * Just trying things now * proxies * EDGE_URL * cacheDirectories * edge off * EDGE_URL/web * try EDGE_URL again * Maybe it's a CSS thing * Restore stylesheets * Fix index.js * CDN * Fix buildiong * end / * Update server URL * legacy url fix * Remove update-server script * Remove local env setup stuff in favour of just UI * Remove git modules * Remove gems and procfile stuff * Don't use static.json any more * Automatic github bump
- Loading branch information
1 parent
1c27b33
commit 22cd3ff
Showing
15 changed files
with
265 additions
and
107 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1 @@ | ||
ide: yarn; LOCAL=true yarn start | ||
server: cd services/soulmate-server && bundle install --quiet && PORT=3001 bundle exec rails s -p3001 | ||
firmware: cd services/soulmate-builder-server && yarn --quiet && PORT=8081 yarn start | ||
emulator: cd services/wokwi-server && yarn --quiet && PORT=8080 yarn start | ||
web: node index.js |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
const fs = require('fs'); | ||
const express = require('express') | ||
const path = require('path') | ||
const PORT = process.env.PORT || 5000 | ||
const EDGE_URL = process.env.EDGE_URL || '/'; | ||
|
||
var html = fs.readFileSync("./build/_index.html").toString() | ||
html = html.replaceAll("/src", `${ EDGE_URL}/src`); | ||
|
||
express() | ||
.use(express.static(path.join(__dirname, 'build'))) | ||
.get('/(*)', (req, res) => res.send(html)) | ||
.listen(PORT, () => console.log(`Listening on ${ PORT }`)) | ||
|
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
Submodule soulmate-builder-server
deleted from
4b12c1
Submodule soulmate-server
deleted from
5d23c0
Submodule wokwi-server
deleted from
f182c2
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.