Comments (1)
You can modify the default configuration by adding entries to the teos/config.json
file. By default this file is empty but you can edit it and assign specific values to the configuration variables. Any entries added there will override the default settings.
In order to list your current settings and thus the variables available for amendment, use a bash terminal:
$ $eosf get config
...or use a python3 terminal:
>>> import teos
>>> ok = teos.GetConfig()
You should get something like this:
# {
# "EOSIO_SOURCE_DIR": "/mnt/c/Workspaces/EOS/eos",
# "EOSIO_EOSFACTORY_DIR": "/mnt/c/Workspaces/EOS/eosfactory",
# "EOSIO_DATA_DIR": "/mnt/c/Workspaces/EOS/eosfactory/build/daemon/data-dir/",
# "EOSIO_CONFIG_DIR": "/mnt/c/Workspaces/EOS/eosfactory/build/daemon/data-dir/",
# "EOSIO_WALLET_DIR": "/mnt/c/Workspaces/EOS/eosfactory/build/daemon/data-dir/wallet/",
# "KEOSD_WALLET_DIR": "${HOME}/eosio-wallet/",
# "nodeExe": "/mnt/c/Workspaces/EOS/eos/build/programs/nodeos/nodeos",
# "cleosExe": "/mnt/c/Workspaces/EOS/eos/build/programs/cleos/cleos",
# "genesisJson": "/mnt/c/Workspaces/EOS/eosfactory/build/daemon/data-dir/genesis.json",
# "EOSIO_DAEMON_ADDRESS": "127.0.0.1:8888",
# "EOSIO_KEY_PRIVATE": "5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3",
# "EOSIO_KEY_PUBLIC": "EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV",
# "EOSIO_WALLET_ADDRESS": "127.0.0.1:8888",
# "EOSIO_DAEMON_NAME": "nodeos",
# "EOSIO_WASM_CLANG": "/home/cartman/opt/wasm/bin/clang",
# "EOSIO_BOOST_INCLUDE_DIR": "/home/cartman/opt/boost/include",
# "EOSIO_WASM_LLVM_LINK": "/home/cartman/opt/wasm/bin/llvm-link",
# "EOSIO_WASM_LLC": "/home/cartman/opt/wasm/bin/llc",
# "sharedMemory": "200",
# "contractWorkspace": "/mnt/c/Workspaces/EOS/contracts",
# "workspaceEosio": "/mnt/c/Workspaces/EOS/eos/build/contracts/"
# }
In your case, if it's just a matter of the EOSIO binaries being in a different location, you'll need to add these two entries to the teos/config.json
file:
{
"nodeExe": "/usr/local/eosio/bin/eos/build/programs/nodeos/nodeos",
"cleosExe": "/usr/local/eosio/bin/eos/build/programs/cleos/cleos",
}
from eosfactory.
Related Issues (20)
- Should force unique be set by default? HOT 2
- Set custom permission seems not working HOT 16
- Support of secondary index query? HOT 1
- Running Hello World test fails with error HOT 2
- Can't install eosfactory HOT 3
- Isn't data folder created before installing? HOT 15
- Compile multiple contracts HOT 6
- Unable to install on master HOT 2
- Not receiving console output with force unique HOT 5
- Failed to kill nodeos. HOT 1
- changing http-server-address HOT 1
- unrecognised option 'bnet-endpoint' HOT 4
- Can't run install.sh within a virtualenv HOT 1
- unable to run unit tests HOT 1
- Account does not have public and private key information HOT 1
- There is no push_action to Eosio account objects HOT 1
- Compiler warnings aren't displayed when compiling through eosfactory.build HOT 4
- Node restart a lot of times when start a test (MacOS) HOT 10
- KeyError: 'inline_traces' thrown from gather_console_output function in cleos.py HOT 1
- any news ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eosfactory.