https://github.com/tombenke/website_freelancer_archetype
A project archetype for website creation using the freelancer Bootstrap theme
https://github.com/tombenke/website_freelancer_archetype
archetype boilerplate boilerplate-template kickoff
Last synced: about 1 year ago
JSON representation
A project archetype for website creation using the freelancer Bootstrap theme
- Host: GitHub
- URL: https://github.com/tombenke/website_freelancer_archetype
- Owner: tombenke
- License: mit
- Created: 2017-06-01T06:24:24.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-01T16:50:39.000Z (about 9 years ago)
- Last Synced: 2025-02-05T12:52:21.503Z (over 1 year ago)
- Topics: archetype, boilerplate, boilerplate-template, kickoff
- Language: JavaScript
- Size: 1.01 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
website_freelancer_archetype
============================
This is [kickoff](http://tombenke.github.io/kickoff/) project archetype for website creation.
It is based on the [Freelancer](http://startbootstrap.com/template-overviews/freelancer/) full website Bootstrap theme.
This is [an example](https://tombenke.github.io/me/) that is originally created from this archetype.
## Usage
### Prerequisites
You must have [Node.js](https://nodejs.org/en/) and the [kickoff](http://tombenke.github.io/kickoff/) utility installed.
### Create a new project
You can create a new project with the following command:
kickoff -s tombenke/website_freelancer_archetype -d new_project_name
The utility will download the project template from GitHub, then asks some qouestions,
that you may give, or simple press `Enter` in case you are satisfied with the default answers.
? The name of the project: mysite
? The short description of the project: This is my single page website.
? The contact email address: contact@mydomain.com
? The contact phone number: (+??) ?????-???
? The full name of the author: Anonymous
? The email address of the author: anonymous@some-domain.com
? The github account (username) of the author: anonymous
? The title of the page: My Site
? The brand name: It's Me
? The current status: Lead developer at Big Co.
? Short summary of skills: Designer, Full-stack Developer
? Office address: 1234 Street 123
City, State/Country
? Business Hours: Monday - Friday: 9:00 AM to 5:00 PM
? Facebook page URL: https://www.facebook.com/my_facebook_id
? Google Plus page URL: https://plus.google.com/107401799973522671886
? Twitter page URL: https://twitter.com/my_twitter_id
? LinkedIn page URL: https://www.linkedin.com/in/tam%C3%A1s-benke-02b9707/
After all the questions answered, the project will be generated.
The project has the following structure:
├── dist
└── src
├── css
├── img
│ └── portfolio
├── js
├── less
├── md
├── partials
└── templates
The `src` folder contains the source files.
The additional vendor files will be copied from the corresponding node modules after installation.
The results will arrive into the `dist` folder.
The `src/templates` folder contains [`mustache`](https://www.npmjs.com/package/mustache) templates,
that may include files from the `src/partials` folder.
The `src/md` folder may contain [`markdown`](https://www.npmjs.com/package/markdown) format files,
that will be converted to HTML format and will be placed into the `partials` folder
so page templates can be written to envelop these contents.
The `src/img` folder contains the sample images, that you should replace with your own photos.
The `src/less` folder contains the [`less`](http://lesscss.org/) files, that you may customize.
Especially the is important, [`src/less/variables.less`](src/less/variables.less) which contains the most relevant syling parameters.
### Create and modify the content and the styles
You can do the following steps:
1. Install the npm modules required by the newly generated application:
cd new_project_name
npm install
2. Edit the template and the parameter files according to your needs:
- src/templates/index.html
- src/parameters.yml
3. Change the images under the `src/img` folder.
4. To create the dist package, run either:
npm run build
or
npm run watch
The build process happens via the gulp utility.
If you change the project structure, you may also modify the [gulpfile.js](gulpfile.js) as well.
The `npm run watch` uses the [browser-sync](https://www.browsersync.io/) utility, that starts a server too.
With this command, you can immediately view the results in a browser, that will be automatically refreshed,
in case you modify any of the source content, can be found under the [`src`](src/) directory.
### Deploy the final results
The final results will be written into the `dist` folder.
You can copy the whole content to the final place of deployment when you are ready.
## References
- [Freelancer](http://startbootstrap.com/template-overviews/freelancer/)
- [Bootstrap](http://getbootstrap.com/)
- [Start Bootstrap](http://startbootstrap.com/)
- [browser-sync](https://www.browsersync.io/)
- [gulp-markdown](https://github.com/sindresorhus/gulp-markdown)
- [gulp-mustache](https://github.com/sindresorhus/gulp-markdown)
- [mustache](https://www.npmjs.com/package/mustache)
- [markdown](https://www.npmjs.com/package/markdown)
- [The less CSS pre-processor](http://lesscss.org/)
- [kickoff](http://tombenke.github.io/kickoff/)