-
Notifications
You must be signed in to change notification settings - Fork 0
Repository
Accept Repository invite in your email if you have not already. If you have not received access let Shazeel know.
If using github desktop, select File -> Clone Repository and select studio Rapture .
If you have one drive then do not put it on a folder attached to one drive - contact Shazeel for help if needed.
If you're using the command line, do git clone https://github.com/UoaWDCC/rapture.git.
Then you can open this folder in Visual Studio Code.
Once open in Visual Studio Code, open the terminal and do select Terminal -> New Terminal in the top left; this should open up a new terminal on the bottom of the window.

Then type in npm install -g pnpm let that run. Then type in pnpm install.
If you get an error like this :

then in the terminal, run the command Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned. After that, redo the earlier commands.
Now the repository is set up for you.
Make sure Docker is running before continuing.
In the terminal type in pnpm run dev. For those who know what they are doing, this runs the NextJs server and the Docker compose file for local stripe and database launching.
After this command happens, ctrl+click or copy and paste the local host url into your browser.
- This should be: http://localhost:3000
To access the admin panel, use: http://localhost:3000/admin