This is Private, how did you get here?
You can run the dev server with Docker compose or Node run.
This includes live reloads with the dev server.
docker compose -f "docker-compose-dev.yaml" up --build --remove-orphans --force-recreateThen visit: http://localhost/
Note: this mounts the ./src directory into the container for live reloading.
To use a different source path, set the APP_FILES environment variable.
See the docker-compose-dev.yaml file for more details.
To use a different port set the PORT environment variable.
export PORT=8080npm i
npm run devThen visit: http://localhost:3000/
To use a different port set the PORT environment variable.
export PORT=8080This is ready for deployment using both Docker and Node.
To deploy to a Swarm cluster using Traefik see the docker-compose-swarm.yaml.
This is ready to be deployed to services like Render.
The server installs with npm i, starts with npm start, and listens on PORT environment variable.
For general help or to request a feature, see:
- Q&A Discussion: https://github.com/smashedr/node-redirect/discussions/categories/q-a
- Request a Feature: https://github.com/smashedr/node-redirect/discussions/categories/feature-requests
If you are experiencing an issue/bug or getting unexpected results, you can:
- Report an Issue: https://github.com/smashedr/node-redirect/issues
- Chat with us on Discord: https://discord.gg/wXy6m2X8wY
- Provide General Feedback: https://cssnr.github.io/feedback/
For more information, see the CSSNR SUPPORT.md.
If you would like to submit a PR, please review the CONTRIBUTING.md.
Please consider making a donation to support the development of this project and additional open source projects.
For a full list of current projects visit: https://cssnr.github.io/