This software is distributed under the Creative Commons Attribution - Non Commercial - No Derivatives 4.0 International license
- Do not push on
master
- "main" branch is
dev
- Create a new
feature
branch for each new feature development - Do not merge
feature
branches withdev
, create a pull request fromfeature
branch todev
- Create a local virtual host
-
Go to
C:\wamp\bin\apache\Apache2.2.17\conf\
openhttpd.conf
file and change#Include conf/extra/httpd-vhosts.conf
toInclude conf/extra/httpd-vhosts.conf
-
Go to
C:\wamp\bin\apache\Apache2.2.17\conf\extra
and openhttpd-vhosts.conf
file and add the following code<VirtualHost smartfollow.web:80> DocumentRoot "C:/wamp/www/web/" ServerName smartfollow.web ServerAlias smartfollow.web <Directory "C:/wamp/www/web/"> Order allow,deny Allow from all </Directory> </VirtualHost>
-
change
C:/wamp/www/web/
as per your requirements. -
Open hosts file in
C:/Windows/System32/drivers/etc/
and add the following line ( Don't delete anything )127.0.0.1 smartfollow.web
- Restart your server.
- (optional) Edit the configuration file of the website
\app\scripts\constant\config.js
and change apiUrl, clientId and clientSecretapiUrl: "http://api.dev.smartfollow.org/", clientId: "2", clientSecret: "IT1tAxoBLlzOJeE5gOoNqq2LOZws1EV5rfc7tZW2"
- Go to http://smartfollow.web/