Skip to content

dataquestio/fullstack-takehome-assessment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

This represents a simple application that connects xterm to a shell on the backend.

Frontend uses Node LTS 10.x and yarn package manager.

Installing Node
  1. Install Node Version Manager
  2. Install the latest stable 10.x: nvm install 10
  3. Set this node version as your default version: nvm alias default 10
  4. Verify your default alias with: nvm list
  5. Verify that node is active with: node --version
Installing Frontend Dependencies
cd ~/fullstack-takehome-assessment/frontend
npm install

Running Frontend Server

npm run dev


Backend uses Python 3.7 and manages packages via virtualenv.

Install Python dependencies

We use virtualenv to manage our Python dependencies

cd ~/fullstack-takehome-assessment/backend
python3 -m venv env
source env/bin/activate

At this point, you can run:

pip install -r requirements.txt

Launching Application

Activate virtual environment

cd ~/fullstack-takehome-assessment/backend
source env/bin/activate

Launch PostgreSQL and Redis using docker-compose, run initial migrations, launch the development server

docker-compose up -d
./manage.py migrate
./manage.py runserver 5000

Launch frontend build

cd ~/fullstack-takehome-assessment/frontend
npm run dev

The application is going to be available on http://localhost:5000/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published