mirror of
https://github.com/gabrielkheisa/meme-generator-nodejs
synced 2024-11-22 03:21:42 +07:00
update
This commit is contained in:
parent
595b8af207
commit
4b76e83151
@ -139,14 +139,16 @@ COMMIT;
|
|||||||
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||||
```
|
```
|
||||||
### 6. Install Python, video renderer, and all of the requirements
|
### 6. Install Python, video renderer, NPM, and all of the requirements
|
||||||
For video renderer purposes:
|
For video renderer purposes:
|
||||||
```bash
|
```bash
|
||||||
|
apk add --no-cache python3 py3-pip
|
||||||
apk add make automake gcc g++ subversion python3-dev
|
apk add make automake gcc g++ subversion python3-dev
|
||||||
apk add ffmpeg
|
apk add ffmpeg
|
||||||
pip3 install --upgrade pip
|
pip3 install --upgrade pip
|
||||||
pip3 install mysql-connector-python==8.0.29
|
pip3 install mysql-connector-python==8.0.29
|
||||||
pip3 install python-dotenv
|
pip3 install python-dotenv
|
||||||
|
apk add npm
|
||||||
```
|
```
|
||||||
### 7. Install Node.js Development or Production Tools
|
### 7. Install Node.js Development or Production Tools
|
||||||
In this case, for development only, use nodemon, else use pm2:
|
In this case, for development only, use nodemon, else use pm2:
|
||||||
@ -171,6 +173,10 @@ Create a screen session for npm:
|
|||||||
```bash
|
```bash
|
||||||
screen
|
screen
|
||||||
```
|
```
|
||||||
|
Install dependencis:
|
||||||
|
```bash
|
||||||
|
npm install
|
||||||
|
```
|
||||||
Run the application using npm:
|
Run the application using npm:
|
||||||
```bash
|
```bash
|
||||||
npm start
|
npm start
|
||||||
|
Loading…
Reference in New Issue
Block a user