mirror of https://gitlab.com/ecentrics/concordia
Apostolos Fanakis
4 years ago
4 changed files with 23 additions and 21 deletions
@ -1,5 +1,6 @@ |
|||
const Migrations = artifacts.require('./Migrations.sol'); |
|||
|
|||
// eslint-disable-next-line func-names
|
|||
module.exports = function (deployer) { |
|||
deployer.deploy(Migrations); |
|||
}; |
|||
|
@ -1,5 +1,6 @@ |
|||
const Forum = artifacts.require('Forum'); |
|||
|
|||
// eslint-disable-next-line func-names
|
|||
module.exports = function (deployer) { |
|||
deployer.deploy(Forum); |
|||
}; |
|||
|
@ -1,27 +1,27 @@ |
|||
const path = require("path"); |
|||
const path = require('path'); |
|||
|
|||
const { GANACHE_HOST } = process.env; |
|||
const { GANACHE_PORT } = process.env; |
|||
|
|||
module.exports = { |
|||
// See <http://truffleframework.com/docs/advanced/configuration>
|
|||
// to customize your Truffle configuration!
|
|||
compilers: { |
|||
solc: { |
|||
version: "0.7.1" |
|||
} |
|||
}, |
|||
contracts_build_directory: path.join(__dirname, 'build/'), |
|||
networks: { |
|||
develop: { |
|||
host: GANACHE_HOST || '127.0.0.1', |
|||
port: GANACHE_PORT || '8545', |
|||
network_id: '*', |
|||
// See <http://truffleframework.com/docs/advanced/configuration>
|
|||
// to customize your Truffle configuration!
|
|||
compilers: { |
|||
solc: { |
|||
version: '0.7.1', |
|||
}, |
|||
}, |
|||
contracts_build_directory: path.join(__dirname, 'build/'), |
|||
networks: { |
|||
develop: { |
|||
host: GANACHE_HOST || '127.0.0.1', |
|||
port: GANACHE_PORT || '8545', |
|||
network_id: '*', |
|||
}, |
|||
test: { |
|||
host: GANACHE_HOST || '127.0.0.1', |
|||
port: GANACHE_PORT || '8546', |
|||
network_id: '*', |
|||
}, |
|||
}, |
|||
test: { |
|||
host: GANACHE_HOST || '127.0.0.1', |
|||
port: GANACHE_PORT || '8546', |
|||
network_id: '*', |
|||
} |
|||
} |
|||
}; |
|||
|
Loading…
Reference in new issue