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'); |
const Migrations = artifacts.require('./Migrations.sol'); |
||||
|
|
||||
|
// eslint-disable-next-line func-names
|
||||
module.exports = function (deployer) { |
module.exports = function (deployer) { |
||||
deployer.deploy(Migrations); |
deployer.deploy(Migrations); |
||||
}; |
}; |
||||
|
@ -1,5 +1,6 @@ |
|||||
const Forum = artifacts.require('Forum'); |
const Forum = artifacts.require('Forum'); |
||||
|
|
||||
|
// eslint-disable-next-line func-names
|
||||
module.exports = function (deployer) { |
module.exports = function (deployer) { |
||||
deployer.deploy(Forum); |
deployer.deploy(Forum); |
||||
}; |
}; |
||||
|
@ -1,27 +1,27 @@ |
|||||
const path = require("path"); |
const path = require('path'); |
||||
|
|
||||
const { GANACHE_HOST } = process.env; |
const { GANACHE_HOST } = process.env; |
||||
const { GANACHE_PORT } = process.env; |
const { GANACHE_PORT } = process.env; |
||||
|
|
||||
module.exports = { |
module.exports = { |
||||
// See <http://truffleframework.com/docs/advanced/configuration>
|
// See <http://truffleframework.com/docs/advanced/configuration>
|
||||
// to customize your Truffle configuration!
|
// to customize your Truffle configuration!
|
||||
compilers: { |
compilers: { |
||||
solc: { |
solc: { |
||||
version: "0.7.1" |
version: '0.7.1', |
||||
} |
}, |
||||
}, |
}, |
||||
contracts_build_directory: path.join(__dirname, 'build/'), |
contracts_build_directory: path.join(__dirname, 'build/'), |
||||
networks: { |
networks: { |
||||
develop: { |
develop: { |
||||
host: GANACHE_HOST || '127.0.0.1', |
host: GANACHE_HOST || '127.0.0.1', |
||||
port: GANACHE_PORT || '8545', |
port: GANACHE_PORT || '8545', |
||||
network_id: '*', |
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