diff options
author | Yukai Huang | 2016-12-11 10:31:51 +0800 |
---|---|---|
committer | Yukai Huang | 2016-12-11 11:18:08 +0800 |
commit | 9e6fd505e12c21e60347501132e1f473b61942b3 (patch) | |
tree | 8cb035ed94e640eb55659f1dec9924f9b3d4da02 /README.md | |
parent | ed83dfc862768572eab0c2aed629b1700ac9e224 (diff) |
Remove bower occurences
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -44,13 +44,13 @@ Prerequisite - Node.js 4.x or up (test up to 6.7.0) - Database (PostgreSQL, MySQL, MariaDB, SQLite, MSSQL) use charset `utf8` -- npm and bower +- npm Get started --- 1. Download a release and unzip or clone into a directory -2. Enter the directory and type `bin/setup`, which will install npm/bower dependencies and create configs. The setup script is written in Bash, you would need bash as a prerequisite. +2. Enter the directory and type `bin/setup`, which will install npm dependencies and create configs. The setup script is written in Bash, you would need bash as a prerequisite. 3. Setup the configs, see more below 4. Setup environment variables which will overwrite the configs 5. Build front-end bundle by `npm run build:prod` (use `npm run build:dev` if you are in development) @@ -63,7 +63,7 @@ If you are upgrading HackMD from an older version, follow these steps: 1. Fully stop your old server first (important) 2. `git pull` or do whatever that updates the files -3. `npm install && bower install` to update dependencies +3. `npm install` to update dependencies 4. Modify the file named `.sequelizerc`, change the value of the variable `url` with your db connection string For example: `postgres://username:password@localhost:5432/hackmd` 5. Run `node_modules/.bin/sequelize db:migrate`, this step will migrate your db to the latest schema |