Add contracts to debian package
This commit is contained in:
parent
a526b507f3
commit
5ed671b5ea
3 changed files with 10 additions and 16 deletions
|
@ -121,12 +121,6 @@ cargo clippy
|
||||||
cargo test
|
cargo test
|
||||||
```
|
```
|
||||||
|
|
||||||
### Build for production
|
|
||||||
|
|
||||||
```
|
|
||||||
cargo build --release
|
|
||||||
```
|
|
||||||
|
|
||||||
## Federation
|
## Federation
|
||||||
|
|
||||||
See [FEDERATION.md](./FEDERATION.md)
|
See [FEDERATION.md](./FEDERATION.md)
|
||||||
|
|
|
@ -23,20 +23,16 @@ registrations_open: false
|
||||||
|
|
||||||
#post_character_limit: 2000
|
#post_character_limit: 2000
|
||||||
|
|
||||||
# Blockchain settings
|
# Blockchain integration
|
||||||
# Example:
|
|
||||||
#blockchain:
|
#blockchain:
|
||||||
# chain_id: eip155:31337
|
# chain_id: eip155:31337
|
||||||
# contract_address: '0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9'
|
# contract_address: '0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9'
|
||||||
# contract_dir: contracts
|
# contract_dir: /usr/share/mitra/contracts
|
||||||
# api_url: 'http://127.0.0.1:8545'
|
# api_url: 'http://127.0.0.1:8545'
|
||||||
# explorer_url: null
|
# explorer_url: null
|
||||||
# signing_key: null
|
# signing_key: null
|
||||||
# Set `blockchain` key to `null` to disable blockchain integration
|
|
||||||
blockchain: null
|
|
||||||
|
|
||||||
# IPFS settings
|
# IPFS integration
|
||||||
# Set `ipfs_api_url` key to `null` to disable IPFS integration
|
#ipfs_api_url: 'http://127.0.0.1:5001'
|
||||||
ipfs_api_url: null
|
# IPFS gateway (for clients)
|
||||||
# IPFS gateway for clients
|
#ipfs_gateway_url: 'https://ipfs.example.tld'
|
||||||
ipfs_gateway_url: null
|
|
||||||
|
|
|
@ -32,6 +32,10 @@ mkdir -p $PACKAGE_DIR/usr/bin
|
||||||
cp target/release/mitra $PACKAGE_DIR/usr/bin/mitra
|
cp target/release/mitra $PACKAGE_DIR/usr/bin/mitra
|
||||||
cp target/release/mitractl $PACKAGE_DIR/usr/bin/mitractl
|
cp target/release/mitractl $PACKAGE_DIR/usr/bin/mitractl
|
||||||
|
|
||||||
|
# Contracts
|
||||||
|
mkdir -p $PACKAGE_DIR/usr/share/mitra
|
||||||
|
cp -r contracts $PACKAGE_DIR/usr/share/mitra/contracts
|
||||||
|
|
||||||
# Webapp
|
# Webapp
|
||||||
mkdir -p $PACKAGE_DIR/usr/share/mitra
|
mkdir -p $PACKAGE_DIR/usr/share/mitra
|
||||||
# https://people.debian.org/~neilm/webapps-policy/ch-issues.html#s-issues-fhs
|
# https://people.debian.org/~neilm/webapps-policy/ch-issues.html#s-issues-fhs
|
||||||
|
|
Loading…
Reference in a new issue