mirror of
https://github.com/JonasunderscoreJones/jonas_jones-api.git
synced 2025-10-22 16:59:17 +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.
|
||||
```bash
|
||||
$ git clone git@github.com:J-onasJones/jonas_jones-api.git
|
||||
$ cd jonas_jones-api
|
||||
$ cargo build
|
||||
git clone git@github.com:J-onasJones/jonas_jones-api.git
|
||||
cd jonas_jones-api
|
||||
cargo build
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
To run the API, simply run the following command.
|
||||
```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.
|
||||
|
@ -29,8 +29,8 @@ If you want to run the API in a production environment, you will need to set the
|
|||
- LASTFM_API_SECRET
|
||||
|
||||
```bash
|
||||
$ export API_PORT={port}
|
||||
$ export API_IP={ip_address}
|
||||
$ export LASTFM_API_KEY={lastfm_api_key}
|
||||
$ export LASTFM_API_SECRET={lastfm_api_secret}
|
||||
export API_PORT={port}
|
||||
export API_IP={ip_address}
|
||||
export LASTFM_API_KEY={lastfm_api_key}
|
||||
export LASTFM_API_SECRET={lastfm_api_secret}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue