server: change default port
This commit is contained in:
parent
411d55647d
commit
2e1c043b4c
|
@ -69,7 +69,7 @@ mysql --user=partdb --password=password --database=partdb < schema.sql
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
put the database access information in `credentials.json` and run `server.rb`.
|
put the database access information in `credentials.json` and run `server.rb`.
|
||||||
now go to http://localhost:4244 and you are ready to use it.
|
now go to http://localhost:4245 and you are ready to use it.
|
||||||
the port is defined in `server.rb`.
|
the port is defined in `server.rb`.
|
||||||
|
|
||||||
use a proxy web server to handle the authentication, TLS, compression, ...
|
use a proxy web server to handle the authentication, TLS, compression, ...
|
||||||
|
|
|
@ -27,7 +27,7 @@ PUBLIC = "public"
|
||||||
# folder name for part attachments (in PUBLIC)
|
# folder name for part attachments (in PUBLIC)
|
||||||
ATTACHMENTS = "attachments"
|
ATTACHMENTS = "attachments"
|
||||||
# port for this service
|
# port for this service
|
||||||
PORT = 4244
|
PORT = 4245
|
||||||
|
|
||||||
raise "database information #{CREDENTIALS} do not exist" unless File.file? CREDENTIALS
|
raise "database information #{CREDENTIALS} do not exist" unless File.file? CREDENTIALS
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue