This repository has been archived by the owner on Dec 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Getting Started
Evan Ugarte edited this page Aug 1, 2020
·
2 revisions
Before cloning the repository, follow these steps to install Node and install Python. Once you have installed both, we can move onto the next steps.
To download and set up the repo, simply copy and paste this into your terminal.
git clone https://github.com/SCE-Development/Core-v4.git
If you find that git is not installed, you can install it here.
We have scripts to take care of this for you. Within the SCE-RPC
folder:
If Linux/MacOS
./setup.sh
if Windows:
.\setup.bat
All python and node dependencies should be installed and the project should be ready to run.
From the top of the SCE-RPC folder:
For MacOS and Linux: source modules/bin/activate
If Windows:
- Open Command Prompt and go to SCE-RPC folder:
cd SCE-RPC
- Activate virtual environment:
modules\Scripts\activate.bat
# To run the SCE-RPC API for other projects to interact with it:
npm run start
# To run the printing server:
python server/printing/printing_server.py
# To run the led sign server:
python server/led_sign/led_sign_server.py
# To run the 3d printing server:
python server/printing_3d/print_3d_server.py
Note: If you get some unexpected errors from the python
commands, replace python
with python3