refactor conf
This commit is contained in:
parent
61ede78868
commit
edba874ae7
6 changed files with 69 additions and 37 deletions
|
|
@ -1,4 +1,5 @@
|
|||
# file: valid.toml
|
||||
# file: Settings.toml
|
||||
# Rename me !
|
||||
|
||||
# The main key of your laser in LJ
|
||||
laser_id = 0
|
||||
|
|
@ -6,14 +7,14 @@ laser_id = 0
|
|||
# Activate for more debug
|
||||
debug = "true"
|
||||
|
||||
# Redis URL as IP:port
|
||||
redis_url = "127.0.0.1"
|
||||
# Redis URL as redis://IP:port/
|
||||
redis_url = "redis://127.0.0.1:6379/"
|
||||
|
||||
# Either Helios or Etherdream
|
||||
dac_family = "Helios"
|
||||
|
||||
# For Helios. USB Device Id of the DAC
|
||||
dac_id = 0
|
||||
[dac.helios]
|
||||
id = 0
|
||||
|
||||
# For Etherdream. IP of the DAC
|
||||
dac_url = "192.168.1.68"
|
||||
# [dac.etherdream]
|
||||
# url = "192.168.1.68"
|
||||
|
|
|
|||
15
tests/settings/valid_etherdream.toml
Normal file
15
tests/settings/valid_etherdream.toml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# file: Settings.toml
|
||||
# Rename me !
|
||||
|
||||
# The main key of your laser in LJ
|
||||
laser_id = 0
|
||||
|
||||
# Activate for more debug
|
||||
debug = "true"
|
||||
|
||||
# Redis URL as redis://IP:port/
|
||||
redis_url = "redis://127.0.0.1:6379/"
|
||||
|
||||
# For Etherdream. IP of the DAC
|
||||
[dac.etherdream]
|
||||
url = "192.168.1.68"
|
||||
Loading…
Add table
Add a link
Reference in a new issue