https://github.com/dkniffin/dummy-frontend
https://github.com/dkniffin/dummy-frontend
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dkniffin/dummy-frontend
- Owner: dkniffin
- Created: 2016-08-23T19:56:08.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-21T19:25:25.000Z (over 8 years ago)
- Last Synced: 2025-02-10T07:17:07.944Z (4 months ago)
- Language: JavaScript
- Size: 33.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# web-boilerplate
A template for new front-end projects.## Using
1. Clone the repo
```
git clone https://github.com/smashingboxes/web-boilerplate
```
2. Move `web-boilerplate` to your project name
```
mv web-boilerplate *PROJECT_NAME*
cd *PROJECT_NAME*
```
3. Delete the .git folder inside it
```
rm -rf .git
```
4. Run a new git init
```
git init
```
5. Change the package.json file to information about your project
6. Delete this README and create a new one for your project
7. Commit all the files as an initial commit and push to your origin
```
git remote set-url origin https://github.com/smashingboxes/*PROJECT_NAME*.git
git add .
git commit -m "Initial commit"
git push origin master
```## Commands
Run your tests with:
```
npm test
```
Run the server with:
```
npm start
```
Run a build with:
```
npm run build
```