Guidelines for Beginners #19
BECATRUE
announced in
Announcements
Replies: 1 comment 1 reply
-
I am not sure where to put questions. If this place is not for an additional question, I will make another discussion session. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is a simple guideline for beginners.
If you have any questions, feel free to leave it😃
What is
artiq-proxy
?It is a proxy server between
client
(currently foriquip
) andartiq
system.It offers a server based on HTTP protocol using
fastapi
.How to install
artiq-proxy
ARTIQ
For this server, first of all you should install ARTIQ.
In my experience, I strongly recommend using
conda
system unless you are familiar withnix
system.And running it on Linux is better (but not compulsory) because the artiq PC also runs on Linux.
After installing it, extract examples.zip and run the master server in the extracted directory (the same level as
device_db.py
).Create another terminal and enter the following command.
If no problem, the master terminal will show the result and the client one will print the rid number.
$ git clone ${url}
To make your own branch for development, please checkout from
develop
branch.How to run the server
First, please modify
master_path
inconfig.json
to your appropriate directory.It should indicate the extracted directory.
Second, enter the below command.
Before this step, several external package should be installed such as
fastapi
anduvicorn
.Please refer the documentation.
If you want to run the server in the background, you can probabilty use some commands such as
nohup
.However, we cannot guarantee its stability.
To check if the server runs well, open your browser and access the following url:
http://127.0.0.1:8000/experiment/info/?file=build_simulation.py
It will return several infomations about the experiment file.
Beta Was this translation helpful? Give feedback.
All reactions