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.git
Make sure you have yarn
installed on your system.
Installing yarn if you haven't yet:
npm install -g yarn
To confirm if yarn
is installed. Type:
yarn --version
Note: 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:
yarn
This will install any dependency that each module needs.
- Copy
.env.example
to a new.env
file.
- Copy
localconfig.example.json
to a newlocalconfig.json
file and adjustdev
valueaddress
to the correct IP Address of your system.
With Docker:
Nothing to do
Without Docker:
- Copy
.env.example
to a new.env
file. LOCATION_IQ_TOKEN
can 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 start
With docker:
docker-compose up -d --build
Without docker:
yarn start:dev