Skip to content

Instantly share code, notes, and snippets.

View dariubs's full-sized avatar
🐕
I love Scorched rice

Dariush Abbasi dariubs

🐕
I love Scorched rice
View GitHub Profile
@dariubs
dariubs / BookatreatLandingPorposal.md
Last active October 2, 2018 18:02 — forked from mohsenk/BookatreatLandingPorposal.md
change enum to array of items

Landing Page Porposal

Features

  • Ability to select diffrent templates
  • Ability to fill and change template variables ( like images and texts)
  • Ability to enable or disable any section or part of template
  • We can define templates that use handlebars syntax and save it to db or file system
  • Every template contains a config.json file and contains template configuration
  • A Template is consis of components and every component has props

Download and Install Vagrant http://www.vagrantup.com/ and VirtualBox https://www.virtualbox.org/ or VMware before beginning

#Set up Vagrant *this guide assumes the use of Mac OS X Mountain Lion on local machine and Ubuntu 12.04 LTS x64 on Vagrant box. It is compatible with many other distros but hasn't been tested.

##Step 1: Make and run box

vagrant init
vagrant box add <path to box directory or name according to https://vagrantcloud.com/>
vagrant up
@dariubs
dariubs / nginx.conf.default
Last active August 29, 2015 14:27 — forked from nishantmodak/nginx.conf.default
Default Nginx Conf
#user nobody;
#Defines which Linux system user will own and run the Nginx server
worker_processes 1;
#Referes to single threaded process. Generally set to be equal to the number of CPUs or cores.
#error_log logs/error.log; #error_log logs/error.log notice;
#Specifies the file where server logs.