-
Notifications
You must be signed in to change notification settings - Fork 22
Getting Started
Before cloning the repository, follow these steps to install Node and install MongoDB. 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
cd Core-v4
npm install
If you find that git is not installed, you can install it here.
Core-v4 makes use of the printingRPC repository to print paper and write to the LED sign. Running setup.py
takes care of setting the repo up for you. Ensure you have python3 installed and run the script with:
# if macOS or linux:
python3 setup.py
# if Windows:
python setup.py
To simply run the application's frontend, paste the below command into your terminal.
npm run frontend
Shortly after, a window in your browser will open with the website on localhost:3000
.
To get our database up and running, you can first run MongoDB with:
mongod
In a new terminal window or tab, run the application with the command below:
npm start
After some time, the application will load in the browser's terminal.
Post any relevant screenshots in #development in the SCE Slack and we'll sort it out.