Setting up Anuvaad on your own
Last updated
Follow these steps to set up the Anuvaad Web Application on your local machine:
Clone the Repository:
git clone https://github.com/project-anuvaad/anuvaad.git
Navigate to the Project Directory:
cd anuvaad/anuvaad-fe/anuvaad-webapp-webappInstall Dependencies:
npm installor
yarn installEnvironment Variables: Create a .env file in the root directory of the project and configure the necessary environment variables. You can use the .env.example file as a reference.
Start the Development Server:
npm startor
yarn startAccess the Application: Once the development server is started, you can access the application by navigating to http://localhost:3000 in your web browser.
Build the Application:
or
Run Tests:
or
General Guidelines:
Clone the repo and go to the module specific directory.
Run pip3 install -r requirements.txt.
Make necessary changes to config files with respect to MongoDB and Kafka.
Run python3 src/app.py.
Alternatively, modules could be run by building and running Docker images. Make sure configs and ports are configured as per your local setup.
Build Docker Image:
Run Docker Container:
Note: Apart from this, the Docker images running in the user's environment could be found here.
Last updated
npm run buildyarn buildnpm testyarn testdocker build -t <service-name> .docker run -r <service-name>