@mr.doge/model v1.1.1
@mr.doge/model
A basic netlify & grandmont website template.
how to use
first of all, you must have the latest versions of node.js and npm installed in your computer. open cmd and run 'node -v' and 'npm -v' to check if it is up to date.
create an account in npm if you don't have yet and run 'npm login' if you're not logged.
- if you want to create your own package:
in your project folder (be sure that it is empty), open cmd and type 'git clone https://github.com/Gabriel6562014/model.git .' it will clone the repo inside your project folder.
run 'npm init', it will guide trought the creation of a new package. choose an unique name to your project, npm does not detect if your project name is already in use, a good practice is to use @yourusername/yourprojectname.
after setting up your package.json, run 'npm publish --access=public'.
- else if you just want to use my repo:
run 'git clone https://github.com/Gabriel6562014/model.git .' then run 'npm install' (all dependencies will be installed in your project folder inside a node_modules folder);
commands:
netlify init
git init
git add .
git pull
git commit
git push
netlify deploy
netlify dev --live
The .htaccess file will be replaced with node.js http requests.