mirror of
https://github.com/bitwarden/web
synced 2025-12-15 15:53:18 +00:00
Reorganization a bit more. Updated readme with build/run instructions.
This commit is contained in:
17
README.md
17
README.md
@@ -4,6 +4,23 @@
|
|||||||
|
|
||||||
The bitwarden Web project is an AngularJS application that powers the web vault (https://vault.bitwarden.com/).
|
The bitwarden Web project is an AngularJS application that powers the web vault (https://vault.bitwarden.com/).
|
||||||
|
|
||||||
|
# Build/Run
|
||||||
|
|
||||||
|
**Requirements**
|
||||||
|
|
||||||
|
- Node.js
|
||||||
|
- Gulp
|
||||||
|
|
||||||
|
Unless you are running the [Core](https://github.com/bitwarden/core) API locally, you'll probably need to switch the
|
||||||
|
application to target the production API. Open `package.json` and set `production` to `true`.
|
||||||
|
|
||||||
|
Then run the following commands:
|
||||||
|
|
||||||
|
- `gulp build`
|
||||||
|
- `gulp serve`
|
||||||
|
|
||||||
|
You can now access the web vault at `http://localhost:4001`.
|
||||||
|
|
||||||
# Contribute
|
# Contribute
|
||||||
|
|
||||||
Code contributions are welcome! Please commit any pull requests against the `master` branch.
|
Code contributions are welcome! Please commit any pull requests against the `master` branch.
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"projects": [ "src", "test" ],
|
|
||||||
"sdk": {
|
|
||||||
"version": "1.0.0-preview2-003121"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -190,9 +190,9 @@ function config() {
|
|||||||
constants: _.merge({}, {
|
constants: _.merge({}, {
|
||||||
appSettings: {
|
appSettings: {
|
||||||
version: project.version,
|
version: project.version,
|
||||||
environment: project.environment
|
environment: project.production ? 'Production' : 'Development'
|
||||||
}
|
}
|
||||||
}, require('./settings.' + project.environment + '.json') || {})
|
}, require('./settings' + (project.production ? '.Production' : '') + '.json') || {})
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "bitwarden",
|
"name": "bitwarden",
|
||||||
"version": "1.4.0",
|
"version": "1.4.0",
|
||||||
"environment": "Development",
|
"production": false,
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"connect": "3.4.1",
|
"connect": "3.4.1",
|
||||||
"lodash": "4.13.1",
|
"lodash": "4.13.1",
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
"appSettings": {
|
|
||||||
"apiUri": "http://localhost:4000"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"appSettings": {
|
"appSettings": {
|
||||||
"rememberedEmailCookieName": "bit.rememberedEmail"
|
"rememberedEmailCookieName": "bit.rememberedEmail",
|
||||||
|
"apiUri": "http://localhost:4000"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
angular.module("bit")
|
angular.module("bit")
|
||||||
.constant("appSettings", {"rememberedEmailCookieName":"bit.rememberedEmail","version":"1.4.0","environment":"Development","apiUri":"http://localhost:4000"});
|
.constant("appSettings", {"rememberedEmailCookieName":"bit.rememberedEmail","apiUri":"http://localhost:4000","version":"1.4.0","environment":"Development"});
|
||||||
|
|||||||
Reference in New Issue
Block a user