sudo apt-get update
sudo apt-get upgrade
sudo apt-get install python-virtualenv
sudo virtualenv /opt/myenv
Hopefully this will answer "How do I setup or start a Django project using REST Framework and ReactJS?"
I created this because it was SUCH a pain in the ass setting up a project using all the latest technologies. After some research, I figured it out and have it working. The repo that implements this is located here. Feel free to use it as a boilerplate ;)
Main features:
Chenthil Rajan 318 243 1429 | |
kchenthilrajan@gmail.com | |
www.github.com/kchenthilrajan | |
SUMMARY | |
• 10+ years of experience in Software Development including Analysis, Design, Development | |
and Testing of various applications in Java/J2EE environment. | |
• Experience in Functional and Object Oriented Programming style of Javascript. | |
• Clear understanding of prototype chaining, closure and scope with respect to Javascript. | |
• Got good exposure to UI design using Adobe Photoshop, Adobe Illustrator, Performed slicing |
# Redis Cheatsheet | |
# All the commands you need to know | |
redis-server /path/redis.conf # start redis with the related configuration file | |
redis-cli # opens a redis prompt | |
# Strings. |
#React JS
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from django.core.management.base import BaseCommand | |
# from django.core.management.base import CommandError | |
from optparse import make_option | |
from django.conf import settings | |
import os | |
import sys | |
import yaml | |
from boto.s3.connection import S3Connection |
using mocha/chai/sinon for node.js unit-tests? check out my utility: mocha-stirrer to easily reuse test components and mock require dependencies
import * as soap from "soap"; | |
var platformPassword = 'PlatformAPIPassword'; | |
var platformUsername = 'PlatformAPIUser'; | |
var url = "https://docs.mendix.com/apidocs-mxsdk/apidocs/attachments/9535497/19398865.wsdl"; | |
var requestArgs: any = null; | |
var options: any = {}; | |
requestArgs = { | |
ApiKey: "667271d9-1b1b-4056-8c3e-4de044e9e57e", | |
ProjectID: "b1bdb9f4-d92f-4a0c-a469-b163d874df31" |
class CheckableDirModel(QtGui.QFileSystemModel): | |
def __init__(self, resultFormats, parent=None): | |
QtGui.QFileSystemModel.__init__(self, None) | |
filters = QStringList() | |
#import ipdb;ipdb.set_trace() | |
filters.append('*.odb') | |
resultFormats = resultFormats.split(',') | |
for resultFormat in resultFormats: | |
filters.append('*.' + resultFormat) |