Skip to content

Vesalon/Flash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flash

Downloads and Installations

Python 2.7.10 (pip is included)

set environment variable PATH to include for Python27 and Python27\Scripts (C:\Python27;C:\Python27\Scripts)

to install django:

  • pip install django
  • pip install django-filter
  • pip install djangorestframework
  • pip install drf-nested-routers

optional:

  • pip install markdown
  • pip install setuptools
  • pip install virtualenv

Node+npm (there is no need to set path environment variable, node does this automatically)

  • npm install -g cordova

android sdk - android studio not necessary

atom - preferred text editor (if you use an IDE, change gitignore file!)

Setting up project

in folder where you want to keep project (C:\users\username\projects)

git clone https://github.com/Vesalon/Flash.git

download lib with angular, jquery, etc. from dropbox (check email) and put in project in directory Flash\flashweb\static and Flash\c_hapin\www\lib (make sure you get the right libs for each one)

Cordova CLI - Platforms must be installed

guide

Setting up android

Android SDK must be installed

We also installed Android Studio.

Define environmental variable ANDROID_HOME to point to Android SDK.

Define more env vars ????

Mac:

$ export ANDROID_HOME=/Library/Android/sdk
$ export PATH=$PATH:$ANDROID_HOME/bin

Setting up iOS

guide

install Xcode from AppStore (to check if the full Xcode package is already installed: $ xcode-select -p If you see: /Applications/Xcode.app/Contents/Developer then xcode is installed already)

to check if Command Line Tools are installed: $ gcc --version

if not, go here

Learning

django - skim

angular

django + angular tutorial

Running

  1. change directory to c_hapin: cd Flash\c_hapin
  2. add platforms: cordova platform add android
  3. run: cordova run android

for running in browser (in c_hapin again):

  1. npm start
  2. open browser and go to localhost:8000/www

About

the REAL social app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published