| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This tutorial is designed for users learning how to use SURF framework. Everything in this tutorial is open source!!! So there are no "pay barriers" or licensing required to get started.
Install git large filesystems (git-lfs) in your .gitconfig (1-time step per unix environment)
$ git lfs installClone the git repo with git-lfs enabled
$ git clone --recursive https://github.com/slaclab/surf-tutorial.gitNote: recursive flag used to initialize all submodules within the clone
There are two methods for running this tutorial:
It is recommend to use Ubuntu 2022.04 LTS (or later Ubuntu release) for these labs:
Here are the Unix packages to install:
# Install the apt packages
sudo apt install \
python3 \
python3-dev \
python3-pip \
git \
git-lfs \
build-essential \
tclsh \
gtkwave \
ghdl \
localesA Python virtual environemnt is recommended to preserve system flexibility.
# Create a virtual environment called surf-venv
python3 -m venv surf-venv
# Activate the virtual environment
./surf-venv/bin/activate
# Upgrade pip
pip install --upgrade pip
# Install the required python packages in the virtual environment
python3 -m pip install -r ../surf-tutorial/pip_requirements.txt
# Deactivate with
deactivate
If you don't want to use a Python virtual environment, you can install the Python packages to your system with:
sudo pip install -r requirements.txtPlease refer to the docker README.md
This project provides different labs to help users get familiar with the SURF framework
The intent of this repo is to add more labs in the future. Feel free to reach out and make requests.
| Back | FazBrowse Home | New Git URL |