# Step 1
# Use Node 8 as base image
FROM node:8
# Step 2
# Create app directory (next steps will be executed relative to this directory)
WORKDIR /usr/src/app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Title</title> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
</head> | |
<body> | |
</body> |
(Tested on Ubuntu 14.04 and Apache 2.4.7)
sudo apt-get install libapache2-mod-wsgi
sudo a2enmod wsgi
Go to project folder and collect static files (setting STATIC_ROOT must be specified) - python manage.py collectstatic
(tested on Ubuntu 14.04 and Apache 2.4.7)
- Go to
/etc/apache2/sites-available
, open terminal and executesudo cp 000-default.conf MySite.conf
. - Open site config
sudo gedit MySite.conf
and change content to:
Listen 8022
<VirtualHost *:8022>
- Download and install emulator - https://www.visualstudio.com/vs/msft-android-emulator/
- Download commandline tools (see bottom of page) - https://developer.android.com/studio/index.html
- Unzip archive to
C:\Program Files (x86)\Android SDK
- Go to
C:\Program Files (x86)\Android SDK\tools\bin
and run.\sdkmanager.exe "platform-tools"
(it will installadb
required by react native) - Specify SDK path: