This is my attempt at creating a simple raidfinder for Granblue Fantasy using Angular and Node.js.
- Download node
- Install the angular CLI with the command
npm install -g @angular/cli
- Run
npm install
in the root folder, and theserver
folder - Add your Twitter API keys and tokens in the
server/server.js
file - Run
ng serve
in the root folder, andnpm start
in theserver
folder
- Select the correct node version for your system architecture, (most likely
node:
) - Add your Twitter API keys and tokens in the
Dockerfile
- Run
docker build -t repo:tag .
to build the dockerimage - Run the docker image
- Push the
server/
subfolder to your heroku reposity withgit subtree push --prefix path/to/app-subdir heroku master
- Add your Twitter API keys and token to the environment variables.
- Add the URL to your server in the
apiUrl
property inenvironment.prod.ts
- Run
ng build --prod
- Files will be in the
dist/
folder, move these to your static page server.