-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
ArtfxDev is the organisation that holds silex repositories. You need to be member of the organisation and a pipeline team developer to get the applications rights.
Kitsu is the silex database.
- You need an account on it, and to be registered as a member of the TEST_PIPE project.
- Then connect to : http://kitsu.prod.silex.artfx.fr
- If password change is needed, ask the TD team
For 2021-2022 pipeline, python 3.7.x is needed. You can find it here : https://www.python.org/downloads/windows/
Last version at the time of this doc's writing was 3.7.9.
Download Rez 2.95.0 source release from https://github.com/nerdvegas/rez/releases
Open a shell in admin mode and install Rez with:
python ./install.py -v C:/rez/__install__
Add to path:
C:\rez\__install__\Scripts\rez
Set a REZ_CONFIG_FILE environment variable to \\prod.silex.artfx.fr/rez/windows/config/rezconfig.py
Close terminal and reopen it still with admin rights. Install basic packages with:
rez bind -i C:/rez/packages --quickstart
Create a packages
folder in the c:/rez
folder. Go into this folder.
Create a file named .rez
in it.
Use this command to clone silex utils (from c:/rez/packages
).
git clone --recurse-submodules -j8 [email protected]:ArtFXDev/silex-rez.git
Then use this to install rez dependancies for rez client:
rez pip -i git+https://github.com/ArtFXDev/silex_client.git
Go to \192.168.2.112\rez\windows\config, open the rezconfig.py, copy everything except the caching part, paste it in the config file in your rez installation folder, for instance: C:\rez_install_\Lib\site-packages\rez\rezconfig.py
Close the admin terminal and reopen a normal rights terminal.
If you have an error saying python is not found, remove the C:\rez\packages\python folder, then launch rez bind -i C:/rez/packages python
with admin priviledges.
Install nodejs through scoop
To install scoop:
Set-ExecutionPolicy RemoteSigned -scope CurrentUser
iwr -useb get.scoop.sh | iex
To install nodejs and yarn through scoop:
scoop search nodejs
scoop install nodejs-lts
scoop install yarn
Git repo: https://github.com/ArtFXDev/silex-desktop
Clone the repo:
git clone https://github.com/ArtFXDev/silex-desktop
Create a .npmrc file in the silex-desktop root folder with that content:
//npm.pkg.github.com/:_authToken=<YOUR_GITHUB_TOKEN>
@artfxdev:registry=https://npm.pkg.github.com/
Replace <YOUR_GITHUB_TOKEN> with your GitHub access token. (See here for where to get it: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token .)
In the github access token config, tick repo and write.
Install dependencies with yarn:
yarn install
This will automatically install silex-socket-service
In the silex desktop folder, run silex with:
yarn start
Then connect to the app.
You can also test an action in the terminal with:
rez env silex_client -- silex action tester -c dev
📚 Doc
🔧 Introduction:
🚀 Development: