Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crispab/crisp-dna
The inner workings of a rather different consulting company.
https://github.com/crispab/crisp-dna
Last synced: about 7 hours ago
JSON representation
The inner workings of a rather different consulting company.
- Host: GitHub
- URL: https://github.com/crispab/crisp-dna
- Owner: crispab
- License: other
- Created: 2014-11-12T21:22:10.000Z (about 10 years ago)
- Default Branch: gh-pages
- Last Pushed: 2023-04-12T05:58:50.000Z (over 1 year ago)
- Last Synced: 2024-12-19T12:08:42.623Z (7 days ago)
- Language: CSS
- Homepage: http://dna.crisp.se
- Size: 8.37 MB
- Stars: 154
- Watchers: 43
- Forks: 100
- Open Issues: 27
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
---
---
# Crisp DNA - tech setup for the siteCrisp DNA is a web site that describes how Crisp works and why. The source lives on github and is auto-published on [http://dna.crisp.se](http://dna.crisp.se) every time a change is pushed.
Below are instructions for how to set up a local development environment. Useful for when you want to make many changes and test locally before pushing to github. See [How to clone](http://dna.crisp.se/docs/how-to-copy.html) for more options on how to clone the Crisp model.
## 1. Install GIT
Here's [how to install GIT](http://git-scm.com/book/en/v2/Getting-Started-Installing-Git).
## 2. Clone the repo
Tell git to download the crisp-dna source:
git clone https://github.com/crispab/crisp-dna.git
cd crisp-dnaYou should now have the whole thing, including the README.md file that you are reading right now!
The web site source files are under `_docs`, have a look! They are written using [markdown](https://guides.github.com/features/mastering-markdown/) (a simpler format than html). When you push to github, it will automatically convert the pages to static html and build the site http://dna.crisp.se.
## 3. Install Jekyll and related tools
To test the site locally, you need to install jekyll (the tool that github uses to generate sites), which in turn relies on some Ruby stuff. But you can do all easily via Ruby bundler, like this:
First install Ruby if you don't already have it, for example via [homebrew](http://brew.sh).
brew install ruby
Then install the Ruby Bundler gem, if you don't already have it.
gem install bundler
Next, tell the bundler to install all the gems needed (jekyll, github-pages, etc). They are listed in Gemfile in case you are curious.
bundle install
If you are getting error messages, you may have old versions of some Gems installed. Try updating to the latest using:
bundle update
Congrats! You got the stuff you need. You should now be ready to....
## 4. Run the site locally!
Tell Jekyll to generate the site and serve it up:
bundle exec jekyll serve
Or if you are lazy you can use the run script (which just does jekyll serve)
That's it, your local copy of the Crisp DNA site should be up and running on
[http://localhost:4000](http://localhost:4000)Every time you edit a source doc (under _docs) it will update the site automatically.