-
Notifications
You must be signed in to change notification settings - Fork 11
offline installation (sqlite backend)
-
Download the RCO Project:
Download the latest version of the RCO project from this repository's homepage onto your internet-connected device that is running the same operating system as the target device. See link location in screenshot below.
-
Prepare the Project:
-
Open the downloaded folder and navigate to the root directory.
-
Run
yarn install
to install the project dependencies. -
Create
.env
file at the root of the project and paste the following lines in it- VITE_API_URL=http://localhost:8000/api
-
Run
yarn build
to build the project. This will generate the necessary files in thedist
folder.
-
-
Zip the Project:
- Zip up the entire folder. This zipped folder will be used for deployment.
-
Transfer to Target Device:
Transfer the zipped folder to the target device where you want to deploy.
-
Install Node.js:
Node.js is required for the RCO-Soul project on the target device. Visit the official Node.js website to download and install the
v18
version. -
Extract the Project:
-
On the target device, open the folder where you transferred the zipped folder.
-
Extract the contents of the zipped folder to obtain project.
-
-
Run the Server:
-
Open the command prompt or terminal on the target device.
-
Navigate to the extracted folder path.
-
Run the server by executing the command:
yarn serve:dev
. This will initiate the server, and it will start running on port8000
.
-
-
Run RCO frontend
-
Open another command prompt or terminal on the target device while keeping the first one open
-
Navigate to the extracted folder path.
-
Run the server by executing the command:
node server.mjs
. This will initiate the server, and it will start running on port8080
.
-
-
Access the RCO Project:
-
Launch a web browser on the target device.
-
Enter
localhost:8080
in the browser's address bar and press Enter. This will access the running RCO project.
-
By following these steps, you will successfully set up the backend server required for RCO frontend on your target device and be able to work with the application efficiently.