Iccode. This page is a link to know everything related to iccode.net. However, that space has closed, now through this page it is about linking with previous projects. We thank Easd-desig.com for the space that has been provided for this purpose. Hi, this is a personal project space on web. When not at work, I like to write code and watch movies. I am a big Star Wars fun and otaku. I am also proud holder of a BSc (Honours) Open from The Open University UK with focus in computing, which I have earned while working full time in unrelated sector.
You can contact me using the contact page or you can also find me at Imagine Binary which is the company I currently work for as a freelancer. It is a software development company offering web and mobile development services.
About this site
After using WordPress for years, I’ve found the time to create something from the ground up. The result is this site which is made with Laravel. The public half, is made with blade templates while the admin half uses Vue.js.
If you are interested or you want to use it, you can find the code at Github
I am open for business proposals, looking forward to collaborate with other people, to see and learn new things in software development.
Escape special characters
To escape characters like double asterisks
** used for bold forward slashes
// for italics double under slashes
__ for underlining use double percent characters
% to enclose them.
Note you need two percent characters from each enclosing side.
Command line generator for Meteor projects
- create a project’s root directory
- cd into the newly created directory and call the Meteor command line tool: meteor create project_name
- delete the three generated files (html, js and css)
- add two or three basic packages (mostly Bootstrap 3 and iron router)
- create various sub-directories inside root directory for public, tests, server, client, common libraries, client libraries, etc
Pretty boring and not lazy enough experience. Hopefully not something which it cannot be fixed with a little scripting. My humble solution comes in a form of a Bash script that does all the steps mentioned in the list above. One can simply invoke the script from the command line and provide it with a name for the project to be created. Even the project name is optional, if not given the script will create a new project named new_project.
Here is a screenshot of a newly created project:
I hope most things speak for themselves but for further clarification:
The script creates the project’s root directory
Deletes the Meteor generated files
Creates all directories and files
Finally adds iron router and bootstrap-3 packages
The generated code assumes that Bootstrap 3 will be used but it can be easily removed.
my_site is the name of the project and the root directory
my_site/client is the client side code, templates and stylesheets
my_site/client/lib is a directory where I put my subscriptions and some common utility code to run client side only
my_site/client/stylesheets are where all stylesheets files live. You can see the sticky_footer file which is used for Bootstrap sticky footers
my_site/client/stylesheets/style.css for further style customizations
my_site/client/views/layout contains partial templates for the head, the header and the footer while the main template renders all
my_site/client/views/index can be considered the home page
my_site/collections is a place to hold all of the collections
my_site/lib hosts common code that will run both on the server and the client, such as routes for the iron router
my_site/public for assets like images and the like
my_site/server is where all the server-side code lives
my_site/server/fixtures.js is a place to put collection fixtures for development
my_site/server/methods.js for the server-side methods
my_site/publications.js for collection publications
So if you want to skip some steps like me, you are welcomed to use the script which is available from Github. Put the script somewhere accessible from your user, I tend to maintain a ~/bin/ directory on my Ubuntu machine which is sourced by my .bash_profile. Finally call the script: meteor-project my_new_project_name_goes_here, that’s it.
Polski Serwer Prywatny Brawl Stars, Clash Royale, Clash of Clans et plus encore Kit de package Android APK
Please help us spread this information to as many people as possible. All you have to do is click on one of the buttons above. We thank you in advance for your great help.
Thanks for sharing