/clojure2

Primary LanguageClojureOtherNOASSERTION

Michael Treanor

netlify badge Build Status https://pypi.python.org/pypi/autosys

code style: prettier Contributor Covenant

Twitter Follow GitHub followers Keybase PGP

This is my about me page, available on GitHub. It was made using Webpack and Clojure. Why Clojure?

webpack logo clojure logo


Prerequisites

Make sure you have these prerequisites installed. Any similar version will likely work fine ...

Tool Version I used
Clojure 1.10.1.469
Lein Build Tools 2.9.1 on Java 13
node.js / npm 12.9.1 / 6.13
Git 2.23.0
hub 2.12.8

If you run into permission problems with npm (not just with this project ... this is a problem with many non-rvm installs), run this terminal command to make sure npm global repo permissions are sufficient:

sudo chown -R $(id -un):$(id -gn) $(npm root -g)

Quickstart (macOS)

 Run the setup_macos.sh if you use macOS ...

This will do everything!

or take the long way around ...


Setup for linux and others ... ymmv

  • Setup local project and git repo
# choose a repo name for your 'about me' page
site_name='clojure_site'
# set your GitHub username from Git ... or just type it in...
user_name=$(git config user.name)

repo_name="https://github.com/${user_name}/${site_name}"

git clone https://github.com/skeptycal/clojure_site $site_name
cd $site_name
  • Setup Github remote repository:
# Rename remote repo. if you wish to remove the remote, use this:
#   git rm -rf .git && git init
git remote rename origin upstream

# create remote repo
hub create

# initial git commit and github push
git add all
git commit -m 'initial commit'
git push --set-upstream origin $(git_current_branch)
echo 'Github remote repositories:'
git remote -v

Install dependencies:

make install

Development:

make watch
make serve

Build:

make build

Deploy to GitHub Pages:

make github

Deploy to Google Cloud (account required):

make deploy

Contributions

Code of Conduct

Bug Reports

Feature Requests