mirror of
https://github.com/bitwarden/browser
synced 2024-12-23 16:41:48 +01:00
Reorganization a bit more. Updated readme with build/run instructions.
This commit is contained in:
parent
b72a52232d
commit
3101e57c36
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/).
|
||||
|
||||
# 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
|
||||
|
||||
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({}, {
|
||||
appSettings: {
|
||||
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",
|
||||
"version": "1.4.0",
|
||||
"environment": "Development",
|
||||
"production": false,
|
||||
"devDependencies": {
|
||||
"connect": "3.4.1",
|
||||
"lodash": "4.13.1",
|
||||
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"appSettings": {
|
||||
"apiUri": "http://localhost:4000"
|
||||
}
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
{
|
||||
"appSettings": {
|
||||
"rememberedEmailCookieName": "bit.rememberedEmail"
|
||||
"rememberedEmailCookieName": "bit.rememberedEmail",
|
||||
"apiUri": "http://localhost:4000"
|
||||
}
|
||||
}
|
||||
|
@ -1,2 +1,2 @@
|
||||
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"});
|
||||
|
Loading…
Reference in New Issue
Block a user