LLB Local Image Upload Guide
This is a list of the steps required to locally upload images to LLB's S3.
Run Configurations
- Open the LLB backend project in IntelliJ
- Create a new Run Configuration for the ServiceMain class
- Add the environment variables AWS_ACCESS_KEY and AWS_SECRET_ACCESS_KEY with their corresponding values (ask Jack how they should do this)
Start the Project
- Run the ServiceMain run configuration to start the API
- Run the LLB frontend project (by using npm start)
Create Admin Account
- Go to localhost:8080
- Create a new general member account
-
In IntelliJ open the Database tab and enter the query:
1
SELECT * FROM users
-
Edit your account's of privilege_level to 2
You should now be able to upload images when creating events logged in with your account