Getting started with React Native

It’s pretty impressive how we can simply set up a development environment without XCode using Expo.

Make sure you’re using the right Node and NPM versions and double check that there are no missing packages while doing the npm install.

I had to run these commands before running npm start on my app (created through create-react-native-app ):

sudo sysctl -w kern.maxfiles=5242880
sudo sysctl -w kern.maxfilesperproc=524288

 

While you edit your project files (using any IDEA like Atom or Sublime Text), Expo provides live reloading so that you can directly test your application very quickly.

I made a very simple app that only embed a webview. IT can be found here: https://github.com/leiluspocus/react-test

 

Resources:

  • Basic tutorial to get started with React Native: https://facebook.github.io/react-native/docs/tutorial.html
  • Packages explorer for React: https://js.coach/react-native/

 



Django Cheat Sheet

Here are couple of useful commands / tutorials (in french sorry!) to get started easily with Django.

Create a project

django-admin.py startproject <project_name>

Manually create a subfolder for HTML templates

Running servers

python manage.py runserver

Create an application (inside of a project)

python manage.py startapp blog

 

You should also read the Django course of Open Classrooms   to get started smoothly 🙂