Before Proceeding:
Knowledge on how to change directories on the terminal is assumed.
See 'cd or change directory' topic on this tutorial. Then proceed to setup.
- Git
- Docker
- Docker Compose
Clone the repository
git clone https://github.com/avidianity/jeepunii.gitMake sure you have yarn installed on your system.
Installing yarn if you haven't yet:
npm install -g yarnTo confirm if yarn is installed. Type:
yarn --versionNote: If docker is used, exclude server from installation and skip to running after finishing mobile and web setup.
On each module (mobile, server (exclude if using docker), web) run:
yarnThis will install any dependency that each module needs.
- Copy
.env.exampleto a new.envfile.
- Copy
localconfig.example.jsonto a newlocalconfig.jsonfile and adjustdevvalueaddressto the correct IP Address of your system.
With Docker:
Nothing to do
Without Docker:
- Copy
.env.exampleto a new.envfile. LOCATION_IQ_TOKENcan be acquired by signing up for a free tier account at LocationIQ. This is used by the server internally to improve location searching capabilities.- Setup database credentials
- Put
KEY(it can be any combination of letters and numbers)
yarn startWith docker:
docker-compose up -d --buildWithout docker:
yarn start:dev