Files
freeplanet_serverside/README.md

45 lines
741 B
Markdown
Raw Normal View History

# Freeplanet_serverside
- Node JS (ver. 16.14.0 or up)
## Install the dependencies
```bash
yarn
```
### Start the app in development mode (hot-code reloading, error reporting, etc.)
```bash
node src/server/server.js
```
### Creating the ambient test
Create your .env.test file copying from .env.development
```bash
cp .env.development .env.test
```
And modifying the file with your configuration
### Build the ambient test
```bash
./deploynodejs_on_test.js
```
### Creating the ambient Production
Create your .env.production file copying from .env.development
```bash
cp .env.development .env.production
```
And modifying the file with your configuration
### Build the production
```bash
./deploynodejs_on_production.js
```