Follow this guide if you would like to setup the project locally to contribute.
Before you can install and use Ryserve, make sure you install the following on your computer:
`npm` instead. npm is now shipped with Node.js, so you don't need to install it separately.- Install NPM Open Gitbash and run:
npm install
You should now see a prompt to restart your computer. If not, restart it manually.
Upon restart, a Gitbash window will open and install Ubuntu. This may take up some time. You'll see a prompt to create a username and password for your Ubuntu installation.
- Install Node.js
sudo apt-get install nodejs -y
In your terminal, run the following command.
git clone https://github.com/arifuzzaman31/ryserveto
git clone https://github.com/arifuzzaman31/ryserveto
cd ryserveto
You should run all commands in the following steps from the root of the project.
We rely on postgresql and recommend you use the scripts below to provision a database with the right extensions.
You can access the database at localhost:5432, with user ryserve
and password .
Use environment variables or .env
files to configure your project.
Copy the .env.local
:
cp .env.local .env
npm install
npx prisma generate
npx prisma migration dev --name ryserve_two
Use bash and run the command.
Copy the npm run dev
:
npm run dev