mirror of
https://github.com/JonasunderscoreJones/jonas_jones-api.git
synced 2025-10-23 09:09:18 +02:00
Removed dollar signs in front of bash commands
This commit is contained in:
parent
5aefb1a7c7
commit
169be592ab
1 changed files with 8 additions and 8 deletions
16
README.md
16
README.md
|
@ -9,16 +9,16 @@ As of now, the project has no proper production build and unless the proper envi
|
||||||
|
|
||||||
Clone the repository and install the dependencies.
|
Clone the repository and install the dependencies.
|
||||||
```bash
|
```bash
|
||||||
$ git clone git@github.com:J-onasJones/jonas_jones-api.git
|
git clone git@github.com:J-onasJones/jonas_jones-api.git
|
||||||
$ cd jonas_jones-api
|
cd jonas_jones-api
|
||||||
$ cargo build
|
cargo build
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
To run the API, simply run the following command.
|
To run the API, simply run the following command.
|
||||||
```bash
|
```bash
|
||||||
$ cargo run
|
cargo run
|
||||||
```
|
```
|
||||||
|
|
||||||
If you want to run the API in a production environment, you will need to set the following environment variables.
|
If you want to run the API in a production environment, you will need to set the following environment variables.
|
||||||
|
@ -29,8 +29,8 @@ If you want to run the API in a production environment, you will need to set the
|
||||||
- LASTFM_API_SECRET
|
- LASTFM_API_SECRET
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ export API_PORT={port}
|
export API_PORT={port}
|
||||||
$ export API_IP={ip_address}
|
export API_IP={ip_address}
|
||||||
$ export LASTFM_API_KEY={lastfm_api_key}
|
export LASTFM_API_KEY={lastfm_api_key}
|
||||||
$ export LASTFM_API_SECRET={lastfm_api_secret}
|
export LASTFM_API_SECRET={lastfm_api_secret}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue