Media Library Step 9: Running the App
For this app we set up the Golem-base client with the URL of a local instance of Golem-base. To learn how to run it, visit our page about running locally.
Follow the instructions for running the node, creating a private key file, and funding the account associated with the key file.
- Make sure geth is running in its own bash terminal.
- Make sure you have funded your account
Then copy the private.key file to your image library app's backend folder. The build script in package.json will then copy it into the dist folder where it's needed.
Next, open a second terminal. Switch to the backend folder and build it and then run it:
cd backend
npm run build
npm run start
Now in a third terminal you can run the angular app by typing the following:
cd frontend
ng serve -o
That's it! Practice uploading some smaller images (up to around 600x600) to keep things managable. Add several images, some with shared tags so you can test out the tag search.
Have fun! And study the code and see what you can add to it!