Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.58 KB

README.md

File metadata and controls

50 lines (38 loc) · 1.58 KB

CodeXpose

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

Tech stack

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

Getting Started

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

Clone the repo

$ git clone https://github.com/inovizz/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 [email protected]

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

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.