Installation#
Building the project locally#
Important
This project has been created by using Create React App (CRA), so it is important to check CRA documentation to do changes on its deployment process.
First, clone the repository:
git clone https://github.com/BSC-ES/autosubmit-gui/
Then, check if you are using the right recommended Node.js version of this project to be sure there is no conflict in its dependencies. This could be easily done by using the Node Version Manager nvm-sh/nvm using:
nvm use
Install the needed dependencies using the Node Package Manager:
npm install
Configuring your GUI#
Important
Please refer to the Configuration page to check all the available options
To configure your GUI, first, create an .env file in the project root directory where you can write the URL of your Autosubmit API like in this example:
REACT_APP_AUTOSUBMIT_API_SOURCE=https://my-autosubmit-api-url.com/
Start it locally on development mode#
Once configured, you are now able to run the GUI locally using:
npm start
Note
Furthermore, if you want to set up it for production, please refere to the Deployment CRA documentation