https://github.com/loopmode/soundclerk-server
https://github.com/loopmode/soundclerk-server
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/loopmode/soundclerk-server
- Owner: loopmode
- Created: 2019-02-12T12:25:30.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-12T12:32:39.000Z (about 7 years ago)
- Last Synced: 2025-02-26T02:43:12.165Z (about 1 year ago)
- Language: PHP
- Size: 46.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# soundclerk
Symfony/Docker API experiment: An app to manage sound files.
## Setup
Make sure you have docker installed.
Then, run `docker-compose up` in the project root.
### Init database
Run `docker ps` to get the CONTAINER ID of the container with the soundclerk/server image.
With that ID, initialize the database:
docker exec -it YOUR_CONTAINER_ID php bin/console doctrine:database:create
Then, initialize the schema:
docker exec -it YOUR_CONTAINER_ID php bin/console doctrine:schema:create
### Add Google Cloud Platform credentials
Log in with your Google account and visit https://console.cloud.google.com/apis/credentials/serviceaccountkey
Create a new service account and save the JSON file as `assets/soundclerk.gcp.json`.