Welcome to our quick and user-friendly guide on how to set up the Node-WebDollar project with Docker! This tutorial will walk you through the installation process step-by-step, ensuring that even non-techies can follow along. Let’s dive in!
Prerequisites
- Docker installed on your machine. If you don’t have it, follow the installation instructions here.
- A basic understanding of terminal/command line commands.
Setting Up Node-WebDollar
1. Run Prebuilt Container
There are two options for running your WebDollar container: with SSL and without SSL.
With SSL
To run the container with SSL, execute the following command:
docker run -d --restart=always -v webdollarssl:/etc/letsencrypt/live -v webdollardata:/blockchainDB3 -e DOMAIN=ENTER DOMAIN HERE -e EMAIL=ENTER EMAIL HERE --name webdollar -p 80:80 -p 443:443 webdollarnode
Without SSL
If you prefer to run without SSL, use the following command:
docker run -d --restart=always -v webdollardata:/blockchainDB3 -e NOSSL=true -e SERVER_PORT=80 --name webdollar -p 80:80 webdollarnode
Installing Node-WebDollar
For Non-Techies
If technical know-how isn’t your strong suit, simply follow the instructions provided here.
For Techies
- Node.js Requirement: Ensure Node.js version v16.x is installed. You can manage different versions using nvm.
- Cloning Repository: Open your terminal and run:
git clone https://github.com/WebDollar/Node-WebDollar.git Node-WebDollar
- Installing Modules: Change directory and install modules:
cd Node-WebDollar npm install
Troubleshooting Tips
If you encounter errors during installation, especially related to node-gyp or missing packages, try the following:
- For Windows Users:
npm install --global --production windows-build-tools npm install
- Missing Packages: If prompted with an error message about missing packages, simply run:
npm install name_missing_package
For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.
Building and Running
Once the modules are installed successfully, you can start the server using:
npm run start
Conclusion
In just a few simple steps, you can successfully set up Node-WebDollar using Docker. Whether you are a seasoned developer or a newcomer, this guide aims to help you navigate through the installation smoothly.
At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions. Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.