rename client/ to frontend/
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 32s
Details
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 32s
Details
This commit is contained in:
parent
fa97f0e194
commit
db43bd95d8
|
@ -142,7 +142,7 @@ Clone this repository to a directory on your machine
|
|||
|
||||
### Frontend
|
||||
|
||||
1. In a new terminal window, navigate to `dgf-prototype/client`
|
||||
1. In a new terminal window, navigate to `dgf-prototype/frontend`
|
||||
|
||||
1. Install the project
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ const deployContract = async (name, args = [], isCore = false) => {
|
|||
contractAddresses[network][name] = contract.target;
|
||||
|
||||
const from = `./artifacts/contracts/${isCore ? 'core/' : ''}${name}.sol/${name}.json`;
|
||||
const to = `../client/src/assets/${name}.json`;
|
||||
const to = `../frontend/src/assets/${name}.json`;
|
||||
fs.copyFileSync(from, to);
|
||||
console.log(`Copied ${fs.realpathSync(from)} to ${fs.realpathSync(to)}`);
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
const fs = require('fs');
|
||||
|
||||
const writeContractAddresses = (contractAddresses) => {
|
||||
fs.writeFileSync('../client/src/contract-addresses.json', JSON.stringify(contractAddresses, null, 2));
|
||||
fs.writeFileSync('../frontend/src/contract-addresses.json', JSON.stringify(contractAddresses, null, 2));
|
||||
console.log('Wrote file', fs.realpathSync('../client/src/contract-addresses.json'));
|
||||
|
||||
fs.writeFileSync('./contract-addresses.json', JSON.stringify(contractAddresses, null, 2));
|
||||
|
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
|
@ -1,6 +1,6 @@
|
|||
import axios from 'axios';
|
||||
// trailing slash is deliberate, to differentiate this package from the core node module
|
||||
import { Buffer } from 'buffer/';
|
||||
import { Buffer } from 'buffer';
|
||||
import { recoverPersonalSignature } from '@metamask/eth-sig-util';
|
||||
import objectHash from 'object-hash/dist/object_hash';
|
||||
|
Loading…
Reference in New Issue