To setup a local development environment, follow the steps given below.
- Ensure you have NodeJS, npm installed in your system.
- Fork and then clone the repository
$ git clone https://github.com/<your-username>/CA-Website.git
- From the root folder, Install dependencies in
client
folder.
$ cd client
$ npm i
$ npm start
- From the root folder, Install dependencies in
server
folder. Generate environment variables and fill in the values.
$ cd server
$ npm i
$ cp .env.sample .env
$ npm run dev
- At the end of this, you should have
server running at
http://localhost:8000
client running athttp://localhost:3000
Our repository is structured as follows
.
├── client
│ ├── public
│ └── src
│
└── server
├── src
└── test
Now that the development environment is all set up, head over to Contributing to learn how to contribute.