forked from cerc-io/snowballtools-base
Compare commits
7
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
af284953f3 | ||
|
|
9f0a2ad548 | ||
|
|
bd10e2cb35 | ||
|
|
eb32385cf3 | ||
|
|
aebb20b987 | ||
|
|
8a2b51952f | ||
|
|
94f46f9621 |
@@ -21,3 +21,4 @@ yarn build --ignore frontend
|
||||
### Environment variables, running the development server, and deployment
|
||||
|
||||
Follow the instructions in the README.md files of the [backend](packages/backend/README.md) and [frontend](packages/frontend/README.md) packages.
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ yarn start
|
||||
|
||||
## Deployment
|
||||
|
||||
Clone the deployer repository:
|
||||
Clone the [deployer repository](https://git.vdb.to/cerc-io/snowballtools-base-api-deployments):
|
||||
|
||||
```zsh
|
||||
git clone git@git.vdb.to:cerc-io/snowballtools-base-api-deployments.git
|
||||
|
||||
@@ -44,7 +44,9 @@ yarn dev
|
||||
|
||||
## Deployment
|
||||
|
||||
From the root of the project, run:
|
||||
From the root of the project,
|
||||
|
||||
- check if the [gittea repository mirror](https://git.vdb.to/cerc-io/snowballtools-base) is up to date
|
||||
|
||||
### Staging
|
||||
|
||||
|
||||
@@ -16,8 +16,7 @@ import { Toaster } from 'components/shared/Toast';
|
||||
import { LogErrorBoundary } from 'utils/log-error';
|
||||
import { baseUrl } from 'utils/constants';
|
||||
|
||||
// @ts-ignore
|
||||
console.log(`v-${__VERSION__}`);
|
||||
console.log(`v-0.0.9`);
|
||||
|
||||
const root = ReactDOM.createRoot(
|
||||
document.getElementById('root') as HTMLElement,
|
||||
|
||||
@@ -26,6 +26,7 @@ const Projects = () => {
|
||||
return (
|
||||
<section className="px-4 md:px-6 py-6 flex flex-col gap-6">
|
||||
{/* Header */}
|
||||
|
||||
<div className="flex items-center">
|
||||
<div className="grow">
|
||||
<div className="flex gap-4 items-center">
|
||||
|
||||
@@ -17,8 +17,8 @@ export default defineConfig({
|
||||
},
|
||||
define: {
|
||||
'process.env': {},
|
||||
// __VERSION__: JSON.stringify(
|
||||
// (await promisify(exec)('git rev-parse --short HEAD')).stdout.trim(),
|
||||
// ),
|
||||
__VERSION__: JSON.stringify(
|
||||
(await promisify(exec)('git rev-parse --short HEAD')).stdout.trim(),
|
||||
),
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user