This implementation was made using Debian 8.
-
Install packages:
aptitude install nginx supervisor
import React, {Component} from 'react'; | |
import { | |
Text, | |
View, | |
SafeAreaView, | |
StyleSheet, | |
StatusBar, | |
TouchableOpacity, | |
Image, | |
PixelRatio, |
https://stackoverflow.com/questions/18352682/correct-file-permissions-for-wordpress | |
chown www-data:www-data -R * # Let Apache be owner | |
find . -type d -exec chmod 755 {} \; # Change directory permissions rwxr-xr-x | |
find . -type f -exec chmod 644 {} \; # Change file permissions rw-r--r-- |
import React from "react"; | |
import { StyleSheet, Text, View, Button } from "react-native"; | |
import { Location, Permissions, TaskManager } from "expo"; | |
const MY_LOCATION_TASK = "MY_LOCATION_TASK"; | |
export default class App extends React.Component { | |
constructor(props) { | |
super(props); |
#install tools | |
sudo apt-get install optipng | |
sudo apt-get install jpegoptim | |
find images_folder/ *.png -exec optipng {} \; | |
find images_folder/ *.jpeg -exec jpegoptim {} \; |
dans /etc/apache2/apache2.conf chercher la balise <Directory /var/www/> et mettre | |
<Directory /var/www/> | |
Options Indexes FollowSymLinks | |
AllowOverride None | |
Require all granted | |
</Directory> | |
ajouter un alias vers le dossier public de ton projet laravel |
;= Add aliases below into the "C:\tools\cmder\config\user-aliases.cmd" file | |
g=git | |
ga=git add | |
gst=git status | |
glog=git log | |
gaa=git add --all | |
gapa=git add --patch | |
gau=git add --update | |
gav=git add --verbose |
Pour ajouter vos projets sur GitHub, après avoir validé votre invitatiton | |
1 - Aller à ce lien: https://github.com/bakeliprojects et y créer un nouveau dépôt (le bouton vert "New") | |
Les dépôts que vous créerez seront nommés comme suit: prenom-nom_nom-du-projet_framework-ou-language | |
modou-ndiaye_marketplace_android | |
modou-ndiaye_marketplace_laravel | |