/codeXpose

An open source solution for conducting technical interviews

Primary LanguageJavaScriptApache License 2.0Apache-2.0

CodeXpose

Build Status Coverage Status
An open source one-stop solution for conducting technical interviews.

Tech stack

Backened - Python / Django
Frontend - React/Redux
Ops - Ansible/Docker/Nginx

Architecture

alt text Please note, "Docker" and its logo are trademarks of Docker Inc.

Getting Started

Follow the below steps to get the development environment up and running.

Clone the repo

$ git clone https://github.com/Imaginea/codeXpose.git
$ cd codeXpose

Using Ansible

Install Ansible

$ sudo apt-add-repository ppa:ansible/ansible
$ sudo apt-get update

$ sudo apt-get install ansible

Execute the following playbook and shell script

$ ansible-playbook deploy.yml -K
$ . run_server.sh

Now, the server should be running at -
http://127.0.0.1:8000/

Note the default admin user is admin@xyz.com

Using Docker

Install Docker and Docker Compose

wget -qO- https://get.docker.com/ | sh
sudo apt-get -y install python-pip
sudo pip install docker-compose

Once docker and docker-compose are installed w/o any errors then run following command -

docker-compose up -d

Post this, your django dev server shall be up and running at -
http://127.0.0.1:8000/

Create superuser

docker ps #find the container id
docker exec -ti [container id] bash

Above command takes you inside the docker container and code is available at /src directory, please refer to the django documentation and create a superuser for you.

Contributing

Please see contribution.